Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 OPR/104.0.0.0
Opera 104
Windows
Desktop
one year ago
Test name Executions per second
foreach 4673.1 Ops/sec
for-in 4569.1 Ops/sec
for-of 4909.6 Ops/sec
for 4958.5 Ops/sec
optimized-for 4885.9 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for