Fast/Slow If First
JavaScript performance comparison
Preparation code
<script>
Benchmark.prototype.setup = function() {
var test = 344;
var test2 = "testing";
var test3 = 1;
var test4 = 2930231;
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Flat Fast If First |
|
pending… |
Flat Slow If First |
|
pending… |
Nested Fast If First |
|
pending… |
Nested Slow If First |
|
pending… |
You can edit these tests or add even more tests to this page by appending /edit to the URL.
0 comments