Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Fedora
Desktop
6 years ago
Test name Executions per second
Just instantiate new array 10686.9 Ops/sec
Set length to zero 11599.0 Ops/sec
Splice 10437.9 Ops/sec
Pop all values 5064.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values