Run details:
Mozilla/5.0 (Linux; Android 11; SM-A505FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
DataView 3638296.5 Ops/sec
Uint8Array by byte 3687348.8 Ops/sec
Uint8Array with set 145687.6 Ops/sec
with Float64Array 114691.2 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set

  • with Float64Array