Run details:
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
one year ago
Test name Executions per second
Just instantiate new array 4501.7 Ops/sec
Set length to zero 4460.4 Ops/sec
Splice 3780.4 Ops/sec
Pop all values 3871.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values