Moo-Resig-Ender-My

Benchmark created by Jie on


Description

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

Preparation HTML

<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>

Test runner

Ready to run.

Testing in
TestOps/sec
MooPerson instantiation
new MooPerson('John Doe');
ready
JRPerson instantiation
new JRPerson('John Doe');
ready
EnderPerson instantiation
new EnderPerson('John Doe');
ready
MyPerson instantiation
new MyPerson('John Doe');
ready

Revisions

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