Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:93.0) Gecko/20100101 Firefox/93.0
Firefox 93
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
DataView 978014912.0 Ops/sec
Uint8Array by byte 976845568.0 Ops/sec
Uint8Array with set 426532.6 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set