Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Chrome 51
Windows 7
Other
8 years ago
Test name Executions per second
Just instantiate new array 14490.1 Ops/sec
Set length to zero 14558.2 Ops/sec
Splice 13805.1 Ops/sec
Pop all values 10019.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values