vibe

JavaScript performance comparison

Test case created by ryanve

Info

speed tests for vibe

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//airve.github.com/js/vibe/vibe.min.js"></script>
<script src="//airve.github.com/js/jeesh/jeesh.min.js"></script>
<script>
Benchmark.prototype.setup = function() {
    var vibe = window.vibe;
    var jQuery = window.jQuery;
    var ender = window.ender;
    var html = document.documentElement;
    var $html = jQuery(html);
    var $htm = ender(html);
};
</script>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
vibe
vibe.fn.addClass.call([html], 'a');
vibe.fn.hasClass.call([html], 'a');
vibe.fn.removeClass.call([html], 'a');
pending…
jQuery
jQuery.fn.addClass.call($html, 'b');
jQuery.fn.hasClass.call($html, 'b');
jQuery.fn.removeClass.call($html, 'b');
pending…
bonzo
ender.fn.addClass.call($htm, 'c');
ender.fn.hasClass.call($htm, 'c');
ender.fn.removeClass.call($htm, 'c');
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. Here’s a list of current revisions for this page:

0 comments

Add a comment