Run details:
Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 9994.6 Ops/sec
Set length to zero 10470.7 Ops/sec
Splice 8667.6 Ops/sec
Pop all values 5990.5 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values