Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Ubuntu
Desktop
2 months ago
Test name Executions per second
Just instantiate new array 18981.0 Ops/sec
Set length to zero 40687.3 Ops/sec
Splice 44049.3 Ops/sec
Pop all values 13350.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values