Dear Marc, performance is now better using the config you stated. Some statistics:
Testsuite run with version/config | duration WebTest R_1660 (HtmlUnit-1.14) | (00:13:24) WebTest R_1705 (HtmlUnit-2.1) | (00:36:44) WebTest R_1705 with | HtmlUnit-2.2-SNAPSHOT no CSS | (00:23:53) Thanks and Cheers, Christoph -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot Gesendet: Freitag, 23. Mai 2008 10:34 An: [email protected] Betreff: Re: [Webtest] Major performance problem after upgrading to R_1705 Hi Christoph, HtmlUnit-2.1 introduced processing of CSS "on demand" for maximal efficiency, which means only when scripts wants to access CSS related properties. Nevertheless in some cases, you *know* that CSS processing doesn't matter for your tests and even the "on demand" processing is too slow. HtmlUnit-2.2 snapshot already contains an option for this: WebClient.setCssEnabled(true/false). You can pick a snapshot to use it already. It would make sense to add a config option for this once WebTest uses HtmlUnit-2.2. Can you open an issue for it? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Christoph Witych wrote: > Dear Marc, dear webtest community, > > after upgrading to webtest-version R_1705 my tests are taking 2 up to 5 times > longer than before. One thing I noticed is that I get many many htmlunit > warnings during execution like > > [invoke] 21.05.2008 > 17:50:33|WARN|com.gargoylesoftware.htmlunit.javascript.host.Stylesheet|main|CSS > error: null [13:25] Fehler in Style-Regel. Ungültiger Token ".2cols". > Erwartet wurde einer von: <S>, <LBRACE>, <COMMA>, <PLUS>, <GREATER>, <IDENT>, > "*", <HASH>, ".", "[", ":". > > Is there a way to turn of css-validation of htmlunit? Any other ideas? > > Thanks in advance, > Christoph > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

