jQ.Mobi (v25)

Revision 25 of this benchmark created by fake-or-dead on


Description

change jquery to jquery.mobile

Preparation HTML

<script src="//code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js">
</script>
<script src="//staging-ian.appmobi.com/game/jq.mobi.min.js">
</script>
<script src="//staging-ian.appmobi.com/game/zepto.min.js">
</script>
<div id="container">
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
jQ.Mobi
document.getElementById("container").innerHTML = "";
$ = jq;

var con = jq("#container");
var ul = jq("<ul/>");
var i;
for (i = 0; i < 100; i++) {
  var li = jq("<li>hello world jq.Mobi</li>");
  ul.append(li);
}
con.append(ul);
ready
jQuery
document.getElementById("container").innerHTML = "";


var con = jQuery("#container");
var ul = jQuery("<ul/>");
var i;
for (i = 0; i < 100; i++) {
  var li = jQuery("<li>hello world jQuery</li>");
  ul.append(li);
}
con.append(ul);
ready
Zepto
document.getElementById("container").innerHTML = "";


var con = Zepto("#container");
var ul = Zepto("<ul/>");
var i;
for (i = 0; i < 100; i++) {
  var li = Zepto("<li>hello world Zepto</li>");
  ul.append(li);
}
con.append(ul);
ready

Revisions

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