Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3260.2 Safari/537.36
Chrome 64
Linux
Other
7 years ago
Test name Executions per second
Just instantiate new array 18151.1 Ops/sec
Set length to zero 17939.4 Ops/sec
Splice 17796.3 Ops/sec
Pop all values 13240.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values