Cross join comparison (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Bigger on the outside
let a

for (let i = 0; i < 1000; i++) {
    for (let j = 0; j < 10; j++) {
        a = i + j
    }
}
ready
Bigger on the inside
let a

for (let i = 0; i < 10; i++) {
    for (let j = 0; j < 1000; j++) {
        a = i + j
    }
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.