Kimbo vs jQuery object iterator

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>
<script>
  window.$k = Kimbo;
  window.$j = jQuery;
</script>
      
<script>
Benchmark.prototype.setup = function() {
  var obj = {
    a: 'a',
    b: 'b'
  };

};
</script>

Preparation code output

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.forEach(obj)
$k.forEach(obj, function (key, value) {});
pending…
jQuery.each(obj)
$j.each(obj, function (key, value) {});
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