Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Ubuntu
Desktop
3 years ago
Test name Executions per second
Just instantiate new array 2852.5 Ops/sec
Set length to zero 2924.5 Ops/sec
Splice 2772.3 Ops/sec
Pop all values 1886.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values