Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
10 months ago
Test name Executions per second
foreach 39151.6 Ops/sec
for-in 8943.8 Ops/sec
for-of 37550.8 Ops/sec
for 59192.3 Ops/sec
optimized-for 60386.1 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for