X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=inline;f=build%2Fspeed%2Fbenchmarker.js;h=73953d11f3593cd359d20bf2962259f1ee97bd4b;hb=35c68b4578f804bcd10fe7ee1628cbbd263c32ff;hp=a04e5acc9902f9f41a96e9a2b2e313eea9359489;hpb=73ab36b8f8f14ed7872bf930a08d8eae68f30fda;p=jquery.git
diff --git a/build/speed/benchmarker.js b/build/speed/benchmarker.js
index a04e5ac..73953d1 100755
--- a/build/speed/benchmarker.js
+++ b/build/speed/benchmarker.js
@@ -20,8 +20,8 @@
jQuery(this).parent().children("*:gt(1)").remove();
} catch(e) { }
})
- var times = 5;
- jQuery("#times").html(times);
+ // set # times to run the test in index.html
+ var times = parseInt(jQuery("#times").val());
jQuery.benchmarker.startingList = this.get();
benchmark(this.get(), times, jQuery.benchmarker.libraries);
}
@@ -33,10 +33,10 @@
jQuery("tbody tr:first-child").remove();
jQuery("td.test").before("