Script Preparation code:
Tests:
  • for i

  • for of

  • forEach

  • for i 2

  • forEach no lambda

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for i
    for of
    forEach
    for i 2
    forEach no lambda

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109 on Windows
View result in a separate tab
Test name Executions per second
for i 69.1 Ops/sec
for of 172.4 Ops/sec
forEach 158.8 Ops/sec
for i 2 99.0 Ops/sec
forEach no lambda 159.9 Ops/sec