Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Ubuntu
Desktop
3 years ago
Test name Executions per second
Just instantiate new array 7081.7 Ops/sec
Set length to zero 6693.4 Ops/sec
Splice 6485.0 Ops/sec
Pop all values 5332.5 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values