test vs lol

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
class
function Base() {
 this.a = 12;
this.b = 13;
this.c = 27;
}

function Sub() {
 Base.call( this );
this.d = 17;
}
Sub.prototype = new Base();
pending…
merge
function inherit( base, functions ) {
    return $.extend( {}, base.prototype, functions );
}

function Base() {
 this.a = 12;
this.b = 13;
this.c = 27;
}

function Sub() {
 Base.call( this );
this.d = 17;
}
Sub.prototype = inherit(Base, {});
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