Run details:
Mozilla/5.0 (Android 9; Mobile; rv:109.0) Gecko/109.0 Firefox/109.0
Firefox Mobile 109
Android
Mobile
one year ago
Test name Executions per second
for 606480.4 Ops/sec
foreach 565473.1 Ops/sec
for..of 17765.6 Ops/sec
for..of over entries 73495.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries