Script Preparation code:
Tests:
  • for

  • forEach

  • for optimized 1

  • for optimized 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    forEach
    for optimized 1
    for optimized 2

    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: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36
Chrome 74 on Linux
View result in a separate tab
Test name Executions per second
for 4194.4 Ops/sec
forEach 36444.2 Ops/sec
for optimized 1 5941.6 Ops/sec
for optimized 2 10137.9 Ops/sec