Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Chrome 101
Linux
Desktop
2 years ago
Test name Executions per second
Just instantiate new array 4934.5 Ops/sec
Set length to zero 8234.4 Ops/sec
Splice 5560.6 Ops/sec
Pop all values 3621.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values