Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Ubuntu
Desktop
3 years ago
Test name Executions per second
Just instantiate new array 3829.4 Ops/sec
Set length to zero 3729.5 Ops/sec
Splice 4021.8 Ops/sec
Pop all values 3212.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values