Moo-Resig-Ender-My (v32)

Revision 32 of this benchmark created 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="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>

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.