Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 7
5 years ago
Test name Executions per second
Just instantiate new array 3242.5 Ops/sec
Set length to zero 3555.2 Ops/sec
Splice 4334.1 Ops/sec
Pop all values 2710.2 Ops/sec
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values