Kimbo jQuery kimbo tt.js AppFW css method
JavaScript performance comparison
Preparation code
<script src="https://kimbojs.com/dist/kimbo.min.js"></script>
<script src="https://code.jquery.com/jquery-git2.js"></script>
<script src="https://zeptojs.com/zepto.min.js"></script>
<script src="https://rawgithub.com/01org/appframework/master/appframework.min.js"></script>
<script src="https://rawgithub.com/dameleon/tt.js/master/tt.min.js"></script>
<p id="p">This paragraph should be red</p>
<script>
window.$k = Kimbo;
window.$j = jQuery;
window.$z = Zepto;
window.$a = af;
window.$t = tt;
</script>
<script>
Benchmark.prototype.setup = function() {
var k_p = $k('#p');
var j_p = $j('#p');
var z_p = $z('#p');
var a_p = $a('#p');
var t_p = $t('#p');
};
</script>
Preparation code output
<p id="p">This paragraph should be red</p>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
Kimbo .css()
|
|
pending… |
jQuery .css()
|
|
pending… |
Zepto .css()
|
|
pending… |
App Fw .css()
|
|
pending… |
tt.js .css()
|
|
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 1: published Denis
- Revision 2: published
- Revision 3: published
- Revision 4: published Heavensrevenge
- Revision 5: published
0 Comments