Run details:
Mozilla/5.0 (Linux; Android 10; SCV39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 11566.3 Ops/sec
Set length to zero 11760.6 Ops/sec
Splice 10523.6 Ops/sec
Pop all values 7366.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values