Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Ubuntu
Desktop
one year ago
Test name Executions per second
Just instantiate new array 20489.9 Ops/sec
Set length to zero 20003.7 Ops/sec
Splice 20003.9 Ops/sec
Pop all values 13005.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values