Acid VS jquery VS JS (v3)

Revision 3 of this benchmark created on


Description

Acid VS Jquery

https://github.com/lnkit/ACID.JS http://jquery.com/

Preparation HTML

<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://lnkit.com/User/Scripts/sys/acid.js"></script>
<div id="object" class="object"></div>

<div class="list"></div>
<div class="list"></div>
<div class="list"></div>
<div class="list"></div>
<div class="list"></div>
<div class="list"></div>

Teardown


    acid('#object').clear();
  

Test runner

Ready to run.

Testing in
TestOps/sec
ID select Acid
acid('#object','!');
ready
ID select Jquery
$('#object');
ready
Class select ACID
acid('.object','!');
ready
Class select Jquery
$('.object');
ready
HTML ACID
acid('.object').html('TEST');
ready
HTML JQUERY
$('.object').html('TEST');
ready
TEXT ACID
acid('.object').tc('TEST');
ready
TEXT JQUERY
$('.object').text('TEST');
ready
List text change ACID
acid('.list').tc('TEST');
ready
List text change JQUERY
$('.list').text('TEST');
ready
ID select JS
document.getElementById('object');
ready
Class select JS
document.getElementsByClassName('object');
ready

Revisions

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