Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4) 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
for 42099.7 Ops/sec
foreach 2602122.8 Ops/sec
some 2807294.0 Ops/sec
for..of 59311.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;