Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
2 years ago
Benchmark.js
Just instantiate new array
54K/s
Set length to zero
53K/s
Splice
50K/s
Pop all values
39K/s
View exact numbers
Test name Executions per second
Just instantiate new array 53,580 Ops/sec
Set length to zero 53,070 Ops/sec
Splice 49,746 Ops/sec
Pop all values 38,913 Ops/sec
Tests: