Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/122.0.6261.89 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 122
iOS 17.3
Mobile
9 months ago
Test name Executions per second
DataView 24159454.0 Ops/sec
Uint8Array by byte 24253642.0 Ops/sec
Uint8Array with set 1977032.0 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set