Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.0
Mobile
2 years ago
Test name Executions per second
Uint8Array.set 4350536.5 Ops/sec
Uint16Array.set 4407122.0 Ops/sec
Uint32Array.set 4410776.0 Ops/sec
BigUint64Array.set 4430864.0 Ops/sec
Script Preparation code:
Tests:
  • Uint8Array.set

  • Uint16Array.set

  • Uint32Array.set

  • BigUint64Array.set