Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
for 68432.5 Ops/sec
foreach 3173196.5 Ops/sec
some 3521670.8 Ops/sec
for..of 98189.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;