Run details:
Mozilla/5.0 (Linux; Android 12; SM-A528N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
for 25460.3 Ops/sec
foreach 61668.6 Ops/sec
for..of 62016.5 Ops/sec
for..of over entries 57964.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries