Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Ubuntu
Desktop
6 years ago
Test name Executions per second
Just instantiate new array 5097.1 Ops/sec
Set length to zero 4580.6 Ops/sec
Splice 4941.5 Ops/sec
Pop all values 2685.5 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values