W dniu 2012-11-16 23:51, Daniel Naber pisze: > On 16.11.2012, 15:24:16 Marcin Miłkowski wrote: > >> Hm, just a stupid question, but did you remember that loading rules is >> also quite expensive? We have to parse XML and compile regexes, and read >> from disk. > > Loading rules takes about 130ms once the system is warmed up. That's not > fast, but still not much compared to the 2 seconds checking takes in total.
Interesting, it looked a bit different for Polish the last time I checked. Maybe it's because German strings are in general longer. > Here's what I do: I start HTTPSServer locally, then I start > HTTPSServerTesting with only 1 thread and the language set to German (to > make things less complex). The result of profiling is attached, it's a > screenshot of visualvm. Do you have stats per call of the method? It may be more informative. Regards, Marcin ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel