JIX framework Wrapper (v7)

Revision 7 of this benchmark created by xercool on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://testtvbox.inetcom.tv/js/jix.base.js"></script>
<script src="http://testtvbox.inetcom.tv/js/jix.el.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>

<script>
   hColl = [1,2,3,4,5,6,7,8,9,10];
   function removeAll(p) {
         while (p.fistChild)
             p.removeChild(p.firstChild);
   }
</script>

<div id="test" style="display:none;" class="test">
          <p></p>
          <p></p>
          <p></p>
          <p></p>
          <p></p>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
test
new Array();
ready
Native
p = document.querySelector('#test');
while (p.fistChild)
             p.removeChild(p.firstChild);
ready
jQuery
$(document.querySelector('#test')).empty();
ready

Revisions

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

  • Revision 1: published by xercool on
  • Revision 2: published by xercool on
  • Revision 3: published by xercool on
  • Revision 4: published by xercool on
  • Revision 5: published by xercool on
  • Revision 6: published by xercool on
  • Revision 7: published by xercool on