justatest

JavaScript performance comparison

Test case created

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
var check
var EOS;
EOS = EOS || {};
EOS.order = {};

EOS.order.foo = function(){
    return {
        init: function(){
            console.log("hi");
        }
    }
}();

var EOS;
EOS = EOS || {};
EOS.order = EOS.order || {};

EOS.order.bar = function(){
    return {
        init: function(){
            //alert("hi bar");
            console.log("hi");
        }
    }
}();

EOS.order.foo.init();
EOS.order.bar.init();
pending…
no varcheck
var EOS;
EOS = EOS || {};
EOS.order = {};

EOS.order.foo = function(){
    return {
        init: function(){
            console.log("hi");
        }
    }
}();

EOS.order.bar = function(){
    return {
        init: function(){
            //alert("hi bar");
            console.log("hi");
        }
    }
}();

EOS.order.foo.init();
EOS.order.bar.init();
pending…

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

Compare results of other browsers

0 comments

Add a comment