Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 4a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
DataView 5108031.0 Ops/sec
Uint8Array by byte 5171599.5 Ops/sec
Uint8Array with set 523908.1 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set