Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Ubuntu
Desktop
4 years ago
Test name Executions per second
Just instantiate new array 9463.4 Ops/sec
Set length to zero 6453.2 Ops/sec
Splice 6608.0 Ops/sec
Pop all values 7790.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values