Run details:
Mozilla/5.0 (Android 11; Mobile; rv:94.0) Gecko/94.0 Firefox/94.0
Firefox Mobile 94
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 4594.4 Ops/sec
Set length to zero 4687.2 Ops/sec
Splice 5144.5 Ops/sec
Pop all values 3692.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values