Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
DataView 5772206.5 Ops/sec
Uint8Array by byte 5772354.0 Ops/sec
Uint8Array with set 157743.7 Ops/sec
with Float64Array 130029.4 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set

  • with Float64Array