Run details:
Mozilla/5.0 (Android 10; Mobile; rv:81.0) Gecko/81.0 Firefox/81.0
Firefox Mobile 81
Android
Mobile
4 years ago
Test name Executions per second
Just instantiate new array 5996.8 Ops/sec
Set length to zero 4173.1 Ops/sec
Splice 4362.4 Ops/sec
Pop all values 4802.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values