Script Preparation code:
Tests:
  • forEach

  • for

  • for of

  • arrowForEach

  • forBackward

  • reverse while

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    forEach
    for
    for of
    arrowForEach
    forBackward
    reverse while

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Chrome 63 on Windows 7
View result in a separate tab
Test name Executions per second
forEach 57075.6 Ops/sec
for 2920.4 Ops/sec
for of 1039.2 Ops/sec
arrowForEach 3916.8 Ops/sec
forBackward 3238.7 Ops/sec
reverse while 3709.2 Ops/sec


;