Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Ubuntu
Desktop
3 years ago
Test name Executions per second
Just instantiate new array 3808.2 Ops/sec
Set length to zero 6449.7 Ops/sec
Splice 8029.1 Ops/sec
Pop all values 3839.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values