Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36
Chrome 90
Linux
Desktop
11 months ago
Test name Executions per second
Just instantiate new array 12659.1 Ops/sec
Set length to zero 12928.5 Ops/sec
Splice 10293.9 Ops/sec
Pop all values 7937.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values