Kimbo vs jQuery css method

JavaScript performance comparison

Revision 2 of this test case created by

Preparation code

<script src="https://kimbojs.com/dist/kimbo.min.js"></script>
<script src="https://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="https://zeptojs.com/zepto.min.js"></script>
<script src="https://cdn.app-framework-software.intel.com/2.0/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

<script src="https://code.jquery.com/jquery-2.0.3.min.js"></script> <script src="https://zeptojs.com/zepto.min.js"></script> <script src="https://cdn.app-framework-software.intel.com/2.0/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>

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…

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