JQuery Wrapper Performance
JavaScript performance comparison
Preparation code
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<p>The queue length is: <span></span></p>
<script>
Benchmark.prototype.setup = function() {
var bLeft = true;
var $div = $("div") ;
};
</script>
Preparation code output
The queue length is:
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
jQuerySelector |
|
pending… |
jQuery-No-Selector |
|
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. Here’s a list of current revisions for this page:
- Revision 1: published by Sunny
- Revision 2: published by Alexander
- Revision 3: published by Honnza
0 comments