Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Chrome 54
Mac OS X 10.11.4
Other
5 years ago
Test name Executions per second
Just instantiate new array 21321.3 Ops/sec
Set length to zero 21543.2 Ops/sec
Splice 21515.3 Ops/sec
Pop all values 14005.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values