Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Linux
Desktop
one year ago
Test name Executions per second
Just instantiate new array 26513.8 Ops/sec
Set length to zero 36151.8 Ops/sec
Splice 27974.9 Ops/sec
Pop all values 14461.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values