Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
6 years ago
Test name Executions per second
Just instantiate new array 2475.0 Ops/sec
Set length to zero 2366.5 Ops/sec
Splice 2578.9 Ops/sec
Pop all values 1167.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values