Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Firefox 53
Windows 7
Other
7 years ago
Test name Executions per second
Just instantiate new array 7411.2 Ops/sec
Set length to zero 8230.0 Ops/sec
Splice 8153.9 Ops/sec
Pop all values 6214.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values