Run details:
Mozilla/5.0 (Android 10; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 2792.9 Ops/sec
Set length to zero 3393.5 Ops/sec
Splice 3384.3 Ops/sec
Pop all values 1309.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values