Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
8 months ago
Test name Executions per second
Just instantiate new array 13726.6 Ops/sec
Set length to zero 14698.7 Ops/sec
Splice 13185.7 Ops/sec
Pop all values 9789.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values