Tests:
  • big i, small j

    AخA
     
    for (let i = 0; i < 1000000; i++) {
        for (let j = 0; j < 10; j++) {
            const hi = "hi";
        }
    }
  • small i, big j

     
    for (let i = 0; i < 10; i++) {
        for (let j = 0; j < 1000000; j++) {
            const hi = "hi";
        }
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    big i, small j
    small i, big j

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
big i, small j 84.6 Ops/sec
small i, big j 76.7 Ops/sec