Script Preparation code:
Tests:
  • for i++

  • for i--

  • while i--

  • for of

  • forEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for i++
    for i--
    while i--
    for of
    forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
for i++ 30263.5 Ops/sec
for i-- 30372.8 Ops/sec
while i-- 29740.0 Ops/sec
for of 2729405.5 Ops/sec
forEach 2744189.2 Ops/sec


;