Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138
Linux
Desktop
one year ago
Benchmark.js
Uint8Array.set
23.8M/s
Uint32Array.set
23.6M/s
Uint16Array.set
23.5M/s
BigUint64Array.set
23.3M/s
View exact numbers
Test name Executions per second
Uint8Array.set 23,845,034 Ops/sec
Uint32Array.set 23,575,596 Ops/sec
Uint16Array.set 23,520,590 Ops/sec
BigUint64Array.set 23,284,310 Ops/sec
Script Preparation code:
Tests: