HTML Preparation code:
Script Preparation code:
Tests:
  • Loop based on array.length

  • Loop based on variable

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Loop based on array.length
    Loop based on variable

    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 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Firefox 46 on Windows 8.1
View result in a separate tab
Test name Executions per second
Loop based on array.length 106387.0 Ops/sec
Loop based on variable 173052.2 Ops/sec