Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
for of
333K/s
for
321K/s
forEach
318K/s
View exact numbers
  • for of: 332,880 ops/sec
  • for: 320,987 ops/sec
  • forEach: 318,367 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    forEach
    for of
    for

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 12 hours ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Chrome 150 on Mac OS X 10.15.7
View result in a separate tab
for of
767K/s
for
760K/s
forEach
712K/s
View exact numbers
Test name Executions per second
for of 766,962 Ops/sec
for 760,499 Ops/sec
forEach 712,036 Ops/sec