Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox 55
Ubuntu
Other
7 years ago
Test name Executions per second
Just instantiate new array 5093.1 Ops/sec
Set length to zero 7866.5 Ops/sec
Splice 6545.8 Ops/sec
Pop all values 4549.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values