Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Chrome 67
Mac OS X 10.14.0
Desktop
6 years ago
Test name Executions per second
Just instantiate new array 19405.4 Ops/sec
Set length to zero 19437.8 Ops/sec
Splice 19340.5 Ops/sec
Pop all values 13172.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;