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

  • Set length to zero

  • Splice

  • Pop all values