Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Windows
Desktop
9 months ago
Test name Executions per second
foreach 82733.2 Ops/sec
for-in 17843.2 Ops/sec
for-of 74368.7 Ops/sec
for 122324.3 Ops/sec
optimized-for 105224.1 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for