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

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36 Vivaldi/1.94.1008.36
Chrome 62 on Mac OS X 10.13.2
View result in a separate tab
Test name Executions per second
forEach 9883.5 Ops/sec
for 5447.3 Ops/sec
for of 1780.0 Ops/sec
arrowForEach 10091.3 Ops/sec
forBackward 5717.7 Ops/sec
reverse while 5604.5 Ops/sec