Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
Chrome 64
Linux
Other
4 years ago
Test name Executions per second
Just instantiate new array 21586.0 Ops/sec
Set length to zero 21190.2 Ops/sec
Splice 21208.2 Ops/sec
Pop all values 13981.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values