Run details:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Chrome 54
Windows 7
Other
8 years ago
Test name Executions per second
Just instantiate new array 9054.9 Ops/sec
Set length to zero 9221.8 Ops/sec
Splice 9121.8 Ops/sec
Pop all values 7110.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values