jQuery vs JavaScript Performance Comparison (v34)

Revision 34 of this benchmark created on


Preparation HTML

<div id="hello"><div class="bye"></div></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQ multiselect
var $el = $('#hello .bye');
ready
JS multiselect
var $el = document.querySelectorAll('#hello .bye');
ready

Revisions

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