Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
testing
(version: 0)
Comparing performance of:
s1 vs s2
Created:
8 years ago
by:
Guest
Jump to the latest result
Tests:
s1
var x = true; var y = true; if(x&&y){ for(m=0;m<50;m+=2){ var z = 1; }; for(m=1;m<50;m+=2){ var z = 2; }; } else { for(m=0;m<100;m++){ var z = 3; }; };
s2
var x = true; var y = true; for(m=0;m<100;m++){ if(x&&y){ if(m%2===0){ var z = 1; } else { var z = 2; }; } else { var z = 3; }; };
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
s1
s2
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Random vs Date.now
test ternário marco
randoms js
test math random
12123Test
Comments
Confirm delete:
Do you really want to delete benchmark?