Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 4a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 13402.4 Ops/sec
Set length to zero 14460.4 Ops/sec
Splice 12925.9 Ops/sec
Pop all values 9040.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values