Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
jQuery versions 3.7.1
(version: 0)
benchmark different versions of jquery
Comparing performance of:
Test jQuery 3.4.1 vs Test jQuery 3.6.0 vs Test jQuery 3.7.1
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> <script> var $jq171 = $.noConflict(true); </script> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script> <script> var $jq1113 = $.noConflict(true); </script> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script> <script> var $jq1124 = $.noConflict(true); </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script> var $jq224 = $.noConflict(true); </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> var $jq331 = $.noConflict(true); </script> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script> var $jq341 = $.noConflict(true); </script> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> var $jq360 = $.noConflict(true); </script> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script> var $jq371 = $.noConflict(true); </script> <div> <ul id="menu"> <li class="menu-item">1</li> <li class="menu-item">2</li> <li class="menu-item">3</li> <li class="menu-item">4</li> </ul> </div>
Script Preparation code:
function tests($) { $(".menu-item").eq(2).closest("ul").css({ "background-color": "red" }).parent().css({ "border": "1px solid blue" }).append($("<p></p>").text("Text.").css({ "background-color": "green" })).end().end().remove(); console.log('tests' + $); }
Tests:
Test jQuery 3.4.1
tests($jq341);
Test jQuery 3.6.0
tests($jq360);
Test jQuery 3.7.1
tests($jq371);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
Test jQuery 3.4.1
Test jQuery 3.6.0
Test jQuery 3.7.1
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
6 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0
Browser/OS:
Firefox 143 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Test jQuery 3.4.1
68996.7 Ops/sec
Test jQuery 3.6.0
70389.9 Ops/sec
Test jQuery 3.7.1
68786.2 Ops/sec
Related benchmarks:
JQuery 1.7 VS 3.3.1
jQuery 3.5 versus 1.12.4
jquery 1 vs 2 vs 3
jQuery versions
jquery 1 vs 2 vs 3.6.1
jQuery 3.5 versus 1.11.0
jQuery versions Mehman
Comments
Confirm delete:
Do you really want to delete benchmark?