Run details:
Mozilla/5.0 (Android 11; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0
Firefox Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
for 4950962.5 Ops/sec
foreach 4162143.8 Ops/sec
for..of 1115901.0 Ops/sec
for..of over entries 205546.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries