Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Chrome 66
Mac OS X 10.11.6
Other
6 years ago
Test name Executions per second
Just instantiate new array 20317.7 Ops/sec
Set length to zero 20224.3 Ops/sec
Splice 20091.8 Ops/sec
Pop all values 13493.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;