MooTools Element with ClassName

Benchmark created by rock3m on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/mootools/1.3.1/mootools-yui-compressed.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
in constructor
new Element('div', {
 'class': 'yeah'
})
ready
out of constructor
new Element('div').addClass('yeah');
ready

Revisions

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