Zam vs. jQuery

Benchmark created by Brandon Barber on


Preparation HTML

<div>
  Hello World!
</div>
<script src="https://cdn.jsdelivr.net/gh/roecrew/zam@0.4.9/zam.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

Setup

var zam = new Zam();

Test runner

Ready to run.

Testing in
TestOps/sec
zam set css
zam.css({'textDecoration':'none'}, 'div');
ready
jQuery set css
$('div').css({'text-decoration':'none'});
ready

Revisions

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

  • Revision 1: published by Brandon Barber on