Run details:
Mozilla/5.0 (Linux; Android 9; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 16877.9 Ops/sec
Set length to zero 17279.7 Ops/sec
Splice 15640.9 Ops/sec
Pop all values 11006.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values