Run details:
Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
one year ago
Test name Executions per second
Just instantiate new array 9854.2 Ops/sec
Set length to zero 10093.9 Ops/sec
Splice 8716.8 Ops/sec
Pop all values 5728.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values