FastJs vs Jquery CSS method (v2)

Revision 2 of this benchmark created by Juan Pablo Pinilla on


Description

FastJs claimed to be 2x faster than JQuery, for example its f.css-$.css comparison shows that FastJs can complete 373,725 times compare to 90863 times.

Preparation HTML

<script src="http://code.jquery.com/jquery-2.0.0.min.js"></script>
<script src="http://fastjs.net/js/fast.min.js"></script>
<div id="test">
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
FastJs
f.css(f("#test"), "color", "#fff");
ready
JQuery 2.0
$("#test").css("color", "#fff");
ready

Revisions

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