jQuery vs ExtJS (v24)

Revision 24 of this benchmark created on


Description

Compare perf when getting an element by id with Dojo, jQuery, ExtJS, My.js, native implementation and native implementation with cache.

Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="//ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery
// async test
$("#test");
ready
Dojo
dojo.byId("test");
ready
ExtJS
// async test
Ext.get("test");
ready
My.js
my("test");
ready
Native
document.getElementById('test');
ready
Native (cached)
getEBI("test");
ready
Yass
_("#test");
ready
Yass (cached)
$yas("#test");
ready
jQuery (enhanced, uncached)
jqUncached("#test");
ready
jQuery (cached)
jqCached("#test");
ready

Revisions

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