Run details:
Mozilla/5.0 (Linux; Android 12; moto g(50) 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
for 27756.6 Ops/sec
foreach 1922961.9 Ops/sec
some 2065727.2 Ops/sec
for..of 47747.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;