Script Preparation code:
Tests:
  • forEach

  • for..of

  • forEach func

  • for of transpiled

  • for of transpiled simple

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    forEach
    for..of
    forEach func
    for of transpiled
    for of transpiled simple

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4571.0 Safari/537.36 Edg/93.0.957.0
Chrome 93 on Linux
View result in a separate tab
Test name Executions per second
forEach 26755.5 Ops/sec
for..of 55308.8 Ops/sec
forEach func 27798.8 Ops/sec
for of transpiled 154652.5 Ops/sec
for of transpiled simple 720.6 Ops/sec


;