Run details:
Mozilla/5.0 (Linux; Android 12; M2101K6P) 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 14636.8 Ops/sec
Set length to zero 14907.9 Ops/sec
Splice 13233.3 Ops/sec
Pop all values 9692.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values