Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Ubuntu
Desktop
4 years ago
Test name Executions per second
Just instantiate new array 3395.1 Ops/sec
Set length to zero 3368.2 Ops/sec
Splice 3794.1 Ops/sec
Pop all values 1177.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values