Kimbo vs jQuery css method

JavaScript performance comparison

Test case created by Denis

Preparation code

<script src="http://kimbojs.com/lib/kimbo.js">
</script>
<script src="http://kimbojs.com/lib/jquery.js">
</script>

<p id="p">This paragraph should be red</p>

<script>
  window.$k = Kimbo;
  window.$j = jQuery;
</script>
      
<script>
Benchmark.prototype.setup = function() {
  var k_p = $k('#p');
  var j_p = $j('#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.

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…

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