Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54
Windows
Other
8 years ago
Test name Executions per second
Just instantiate new array 14590.8 Ops/sec
Set length to zero 13843.4 Ops/sec
Splice 12988.4 Ops/sec
Pop all values 10149.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values