Run details:
Mozilla/5.0 (Linux; Android 11; motorola one vision) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 10209.8 Ops/sec
Set length to zero 10579.8 Ops/sec
Splice 8983.9 Ops/sec
Pop all values 6402.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values