Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Firefox 93
Windows 7
Desktop
3 years ago
Test name Executions per second
DataView 1217040768.0 Ops/sec
Uint8Array by byte 1230054272.0 Ops/sec
Uint8Array with set 705324.7 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set