* min=200 Minimum time running each selector\r
* track=false Don't draw the horse race\r
* ask=false Run default benchmarks, don't ask the user.\r
+ * wait=6000 Number of milliseconds to wait to insert the test html stuff in the iframes\r
* \r
*/\r
public class GwtQueryBenchModule implements EntryPoint {\r
\r
private boolean useTrack = true;\r
private boolean ask = true;\r
+ private int waitToLoad = 6000;\r
\r
/**\r
* List of available benchmarks. \r
if (par != null && "false".equals(par)) {\r
ask = false;\r
}\r
+ par = Window.Location.getParameter("wait"); \r
+ if (par != null) {\r
+ waitToLoad = Integer.parseInt(par);\r
+ }\r
+ \r
\r
initSelects(benchmarks);\r
initIFrames();\r
writeTestContent($(".ibench").contents().find("body").get(0));\r
gwtiframe = $(".ibench").eq(0).contents().get(0);\r
}\r
- }.schedule(1000);\r
+ }.schedule(waitToLoad);\r
}\r
\r
\r