Moo-Resig-Ender-My

JavaScript performance comparison

Revision 32 of this test case created

Info

Comparing Mootools, John Resig, Ender & My.js class systems on class instantiation. Check the scripts MooTest.js, JRTest.js, EnderTest.js, MyTest.js.

Preparation code

<script src="https://raw.github.com/jiem/my-class/master/example/MooClass.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/example/JRClass.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/example/EnderClass.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/my.class.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/example/MooTest.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/example/JRTest.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/example/EnderTest.js"></script>
<script src="https://raw.github.com/jiem/my-class/master/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 unknown unknown
Test Ops/sec
MooPerson instantiation
new MooPerson('John Doe');
pending…
JRPerson instantiation
new JRPerson('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. Here’s a list of current revisions for this page:

0 comments

Add a comment