Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Chrome 77
Linux
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 17579.4 Ops/sec
Set length to zero 18003.5 Ops/sec
Splice 15956.6 Ops/sec
Pop all values 11829.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values