Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Chrome 54
Mac OS X 10.11.6
Other
8 years ago
Test name Executions per second
Just instantiate new array 14798.7 Ops/sec
Set length to zero 15684.3 Ops/sec
Splice 14902.8 Ops/sec
Pop all values 10595.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;