FastJs 1.0.3 vs Zepto CSS method (v6)

Revision 6 of this benchmark created on


Description

FastJs vs jQuery Seleectors

Preparation HTML

<script src="http://fastjs.net/downloads/fast-1.0.3.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://zeptojs.com/zepto.min.js"></script>
<div id="test"></div>

Setup

var ft = f("#test");
    var jt = jQuery("#test");
    var zp = Zepto("#test");

Test runner

Ready to run.

Testing in
TestOps/sec
FastJs 1.0.3 Cached Selector
f.css(ft, "color", "#fff");
ready
jQuery 2.0.3 Cached Selector
jt.css("color", "#fff");
ready
Zepto
zp.css("color", "#fff");
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.