Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36
Chromium 64
Ubuntu
Other
2025 years ago
Test name Executions per second
Just instantiate new array 13598.7 Ops/sec
Set length to zero 13682.3 Ops/sec
Splice 13679.2 Ops/sec
Pop all values 9953.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values