Run details:
Mozilla/5.0 (Linux; Android 12; LM-G850) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
for 15377.6 Ops/sec
foreach 1100041.5 Ops/sec
some 1129616.9 Ops/sec
for..of 25859.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;