Run details:
Mozilla/5.0 (Linux; Android 11; KB2000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Just instantiate new array 20675.2 Ops/sec
Set length to zero 20396.5 Ops/sec
Splice 17802.3 Ops/sec
Pop all values 13469.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values