Run details:
Mozilla/5.0 (Linux; Android 12; SM-G988W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 20651.5 Ops/sec
Set length to zero 20621.6 Ops/sec
Splice 18514.4 Ops/sec
Pop all values 13587.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values