Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Ubuntu
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 4550.9 Ops/sec
Set length to zero 5151.3 Ops/sec
Splice 4876.5 Ops/sec
Pop all values 3389.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values