Run details:
Mozilla/5.0 (Android 11; Mobile; rv:92.0) Gecko/92.0 Firefox/92.0
Firefox Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
for 3247149.8 Ops/sec
foreach 2732790.5 Ops/sec
for..of 886474.1 Ops/sec
for..of over entries 175683.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries