Moo-Resig-Ender-My-JS.CLASS
JavaScript performance comparison
Info
Comparing Mootools, John Resig, Ender & My.js class systems on calling a method that calls a super method. Check the scripts MooTest.js, JRTest.js, EnderTest.js, MyTest.js, JSFace and JS.CLASS
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/4382143/jsclass-test/jsfaceperson.js"</script>
<script src="//dl.dropbox.com/u/7677927/jsface.js"></script>
<script src="http://dl.dropbox.com/u/4382143/jsclass-test/core.js"></script>
<script src="http://dl.dropbox.com/u/4382143/jsclass-test/jsclasstest.js"></script>
<script>
var mooJohn = new MooParisLover('Carla Bruni');
var jrJohn = new JRParisLover('Carla Bruni');
var enderJohn = new EnderParisLover('Carla Bruni');
var myJohn = new MyParisLover('Carla Bruni');
var jsfaceJohn = new JSFaceParisLover('Carla Bruni');
var jsClassJohn = new JSClassParisLover('Carla Bruni');
</script>
Preparation code output
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Moo |
|
pending… |
John Resig |
|
pending… |
Ender |
|
pending… |
My.js |
|
pending… |
JSFace.js |
|
pending… |
JS.Class |
|
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:
- Revision 1: published by Jie
- Revision 2: published by Jie
- Revision 3: published by Jie
- Revision 4: published by Toby
- Revision 5: published
- Revision 6: published by Jakub
- Revision 8: published
- Revision 11: published
- Revision 17: published by Tan Nhu
- Revision 18: published by Tan Nhu
- Revision 19: published by Tan Nhu
- Revision 23: published
- Revision 24: published by Mark Johnson
- Revision 25: published by Darlan Alves
0 comments