test-sizzle-performance

Benchmark created by AHarris-dmt on


Preparation HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/sizzle/2.3.3/sizzle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

<div id='idTest'>
 <ul>
    <li>1</li>
    <li>2</li>
    
 </ul>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery
$("#idTest")
ready
Sizzle
Sizzle("#idTest")
ready
Vanilla
document.getElementById("idTest")
ready
QuerySelector
document.querySelector('#idTest')
ready

Revisions

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

  • Revision 1: published by AHarris-dmt on