Run details:
Mozilla/5.0 (Linux; Android 12; 2107113SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 19319.8 Ops/sec
Set length to zero 19495.2 Ops/sec
Splice 17904.3 Ops/sec
Pop all values 12265.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values