jquery142 vs jquery 15b1

JavaScript performance comparison

Test case created by Rick Waldron

Preparation code

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
    var a = jQuery.noConflict();
</script>
<script src="http://code.jquery.com/jquery-1.5b1.js"></script>
<script>
    var b = jQuery.noConflict();
</script>
<div id="jq142"></div>
<div id="jq150"></div>

<div id="results"></div>

    

Preparation code output

<div id="jq142"></div> <div id="jq150"></div> <div id="results"></div>

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
jq142
a("#jq142").append("<div>abcdefghijklmnopqrstuvwxyz</div>").children().remove();
pending…
jq150
b("#jq150").append("<div>abcdefghijklmnopqrstuvwxyz</div>").children().remove();
pending…

Compare results of other browsers

Revisions

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

0 Comments