Run details:
Mozilla/5.0 (Linux; Android 11; SM-A035F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 7496.4 Ops/sec
Set length to zero 7746.3 Ops/sec
Splice 6516.4 Ops/sec
Pop all values 4344.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values