get-by-id comparison
JavaScript performance comparison
Preparation code
<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.2.0/prototype.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://fireboltjs.com/firebolt.min.js"></script>
<script>
$.noConflict();
// Prevent browser optimizations by storing results in a container array
var container = [];
</script>
<script>
Benchmark.prototype.setup = function() {
container.length = 0;
};
</script>
Preparation code output
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
1 - Vanilla JS
|
|
pending… |
2 - Firebolt
|
|
pending… |
3 - Prototype JS
|
|
pending… |
4 - jQuery
|
|
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.
- Revision 3: published
- Revision 5: published and last updated
- Revision 6: published
- Revision 8: published niknah
- Revision 9: published
- Revision 10: published Rogalik
- Revision 11: published check
- Revision 12: published brijesh patel
- Revision 13: published
- Revision 14: published
- Revision 15: published
- Revision 16: published Luke vdH
- Revision 17: published
- Revision 19: published test mootool
- Revision 20: published
- Revision 21: published posinskadpilot
- Revision 22: published Kikobeats
- Revision 23: published
- Revision 24: published
- Revision 25: published
- Revision 26: published
- Revision 27: published Jan
- Revision 28: published Nathan
- Revision 29: published
- Revision 30: published
- Revision 32: published
- Revision 33: published ariiiman
- Revision 34: published
- Revision 35: published
- Revision 36: published EE
- Revision 37: published EE
- Revision 38: published
- Revision 39: published
- Revision 40: published
- Revision 54: published David Larsen
0 Comments