Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Linux
Desktop
3 months ago
Test name Executions per second
foreach 9818.1 Ops/sec
for-in 2387.6 Ops/sec
for-of 10626.1 Ops/sec
for 10645.3 Ops/sec
optimized-for 13050.2 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for