Run details:
Mozilla/5.0 (iPad; CPU OS 12_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/92.0.4515.90 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 92
iOS 12.5
Tablet
2 years ago
Test name Executions per second
DataView 2740200.5 Ops/sec
Uint8Array by byte 2690485.0 Ops/sec
Uint8Array with set 90347.7 Ops/sec
Script Preparation code:
Tests:
  • DataView

  • Uint8Array by byte

  • Uint8Array with set