Kimbo jQuery kimbo tt.js AppFW css method

JavaScript performance comparison

Revision 5 of this test case created by

Preparation code

<script src="https://code.jquery.com/jquery-git2.js"></script>
<script src="https://zeptojs.com/zepto.min.js"></script>
<script src="https://rawgit.com/01org/appframework/master/appframework.js"></script>
<script src="https://rawgit.com/dameleon/tt.js/master/tt.all.js"></script>
<script src="https://kimbojs.com/dist/kimbo.min.js"></script>
<script src="https://rawgit.com/HelpeR/FastJs/master/fast.js"></script>

<p id="p">This paragraph should be red</p>
      
<script>
Benchmark.prototype.setup = function() {
  var k_p = Kimbo('#p');
  var j_p = jQuery('#p');
  var z_p = Zepto('#p');
  var a_p = af('#p');
  var t_p = tt('#p');
  var f_p = f('#p');

};
</script>

Preparation code output

<script src="https://zeptojs.com/zepto.min.js"></script> <script src="https://rawgit.com/01org/appframework/master/appframework.js"></script> <script src="https://rawgit.com/dameleon/tt.js/master/tt.all.js"></script> <script src="https://kimbojs.com/dist/kimbo.min.js"></script> <script src="https://rawgit.com/HelpeR/FastJs/master/fast.js"></script> <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.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
Kimbo .css()
k_p.css('color', 'red');
pending…
jQuery .css()
j_p.css('color', 'red');
pending…
Zepto .css()
z_p.css('color', 'red');
pending…
App Fw .css()
a_p.css('color', 'red');
pending…
tt.js .css()
t_p.css('color', 'red');
pending…
FastJS .css()
f.css(f_p, 'color', 'red');
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

This paragraph should be red