Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Windows
Desktop
4 months ago
Test name Executions per second
foreach 27340.2 Ops/sec
for-in 5972.6 Ops/sec
for-of 24803.1 Ops/sec
for 39230.9 Ops/sec
optimized-for 39100.6 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for