jquery 1.4.2 vs 1.8.2

JavaScript performance comparison

Revision 32 of this test case created


Comparison of performance between jQuery versions 1.4.3 and 1.8.2

Preparation code

<div id="test"> 
        <div class="testlink">
                <a href="#" id="linkone" title="test">test link</a>
        <div class="testmenu">
                        <li class="menuitem itemone">
                                <a href="#" title="item 1">menu item 1</a>
                        <li class="menuitem itemtwo">
                                <a href="#" title="item 2">menu item 2</a>
                        <li class="menuitem itemthree">
                                not clickable item 3
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script> var $jq14 = jQuery.noConflict( true ); </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script> var $jq18 = jQuery.noConflict( true ); </script>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
1.4 by id
1.8 by id

Compare results of other browsers


You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:


Comment form temporarily disabled.

Add a comment