jQuery vs FastJs vs Zepto CSS (v9)

Revision 9 of this benchmark created by Heavensrevenge on


Description

FastJs vs jQuery Seleectors

Preparation HTML

<script src="//code.jquery.com/jquery-git2.min.js"></script>
<script src="//zeptojs.com/zepto.min.js"></script>
<script src="//fastjs.net/js/fast.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
f.css(ft, "color", "#fff");
ready
jQuery
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.