Script Preparation code:
Tests:
  • forEach

  • for..of

  • forEach func

  • for of transpiled

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Chrome 58 on Mac OS X 10.12.3
View result in a separate tab
Test name Executions per second
forEach 4262.0 Ops/sec
for..of 34568.6 Ops/sec
forEach func 3949.3 Ops/sec
for of transpiled 837.7 Ops/sec


;