Run details:
Mozilla/5.0 (Linux; Android 6.0; HTC 2PXH3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android 6.0
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 4536.0 Ops/sec
Set length to zero 4581.1 Ops/sec
Splice 3878.1 Ops/sec
Pop all values 2550.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;