Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 8376.7 Ops/sec
Set length to zero 8783.4 Ops/sec
Splice 7748.4 Ops/sec
Pop all values 5687.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values