Run details:
Mozilla/5.0 (Linux; Android 11; KB2000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 20135.0 Ops/sec
Set length to zero 20090.8 Ops/sec
Splice 17768.5 Ops/sec
Pop all values 13388.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values