ten.js performance test (v7)

Revision 7 of this benchmark created by Kevin on


Description

A simple test which selects an element and appends a string to it.

Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="http://cdn.jqmobi.com/1.11/jq.mobi.min.js">
</script>
<script src="http://zeptojs.com/zepto.min.js">
</script>
<script src="http://lordsnow.net/kvf/ten/ten.js">
</script>
<div id="jswrapper"></div>

Setup

var ul, li;

Teardown


    document.getElementById("jswrapper").innerHTML="";
  

Test runner

Ready to run.

Testing in
TestOps/sec
ten.js
ten("#jswrapper").append("bar");
ready
jQuery
jQuery("#jswrapper").append("bar");
ready
jqMobi
jq("#jswrapper").append("bar");
ready
Zepto
Zepto("#jswrapper").append("bar");
ready

Revisions

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

  • Revision 1: published by Kevin on
  • Revision 2: published by Kevin on
  • Revision 7: published by Kevin on
  • Revision 9: published by Kevin on