Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
2025 years ago
Test name Executions per second
Just instantiate new array 10451.1 Ops/sec
Set length to zero 14468.5 Ops/sec
Splice 14463.8 Ops/sec
Pop all values 8113.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values