Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
9 months ago
Test name Executions per second
foreach 58195.9 Ops/sec
for-in 13233.8 Ops/sec
for-of 67056.0 Ops/sec
for 104923.6 Ops/sec
optimized-for 102120.8 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for