Script Preparation code:
Tests:
  • for cached length

  • forEach

  • forEach cached function

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for cached length
    forEach
    forEach cached function

    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: 7 years ago)
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Firefox 54 on Windows
View result in a separate tab
Test name Executions per second
for cached length 322.6 Ops/sec
forEach 649.9 Ops/sec
forEach cached function 654.0 Ops/sec