Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Windows
Other
5 years ago
Test name Executions per second
Just instantiate new array 20147.7 Ops/sec
Set length to zero 20382.7 Ops/sec
Splice 19730.6 Ops/sec
Pop all values 14341.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values