Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Firefox 54
Ubuntu
Other
7 years ago
Test name Executions per second
Just instantiate new array 8547.8 Ops/sec
Set length to zero 13640.7 Ops/sec
Splice 11285.6 Ops/sec
Pop all values 6387.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values