Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Chrome 54
Mac OS X 10.11.5
Other
7 years ago
Test name Executions per second
Just instantiate new array 14877.8 Ops/sec
Set length to zero 14118.4 Ops/sec
Splice 12164.5 Ops/sec
Pop all values 7822.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;