Moo-Resig-Ender-My-JsFace

JavaScript performance comparison

Revision 17 of this test case created by Tan Nhu

Info

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

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>

<script src="//dl.dropbox.com/u/7677927/jsface.js"></script>
<script src="http://dl.dropbox.com/u/7677927/JSFacePerson.js"</script>
<script src="//dl.dropbox.com/u/7677927/jsface.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…
JSFacePerson instantiation
new JSFacePerson('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