Moo-Resig-Ender-My

JavaScript performance comparison

Test case created by Jie

Preparation code

<script src="http://myjs.fr/my-class/example/MooClass.js"></script>
<script src="http://myjs.fr/my-class/example/JRClass.js"></script>
<script src="http://myjs.fr/my-class/example/EnderClass.js"></script>
<script src="http://myjs.fr/my-class/my.class.min.js"></script>
<script src="http://myjs.fr/my-class/example/MooTest.js"></script>
<script src="http://myjs.fr/my-class/example/JRTest.js"></script>
<script src="http://myjs.fr/my-class/example/EnderTest.js"></script>
<script src="http://myjs.fr/my-class/example/MyTest.js"></script>
    

Preparation code output

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
JRPerson instantiation
new JRPerson('John Doe');
pending…
MooPerson instantiation
new MooPerson('John Doe');
pending…
EnderPerson instantiation
new EnderPerson('John Doe');
pending…
MyPerson instantiation
new MyPerson('John Doe');
pending…

Compare results of other browsers

Revisions

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

0 Comments