W dniu 2012-11-18 22:48, Daniel Naber pisze:
> On 18.11.2012, 21:33:32 Marcin Miłkowski wrote:
>
>> The easiest way to see whether this could speed things up at all is
>> change the line 162 in AbstractPatternRule.java to this one:
>>
>> final int numberOfReadings = 1;
>
> There's no significant difference. Even when I comment out the whole
> testAllReadings() method, the test gets only 20% faster, whereas the
> profiling data suggested it should be more like 60%. Maybe the profiling
> isn't as precise as I'd like it to be?

Frankly, I did profile the pattern rules many times and I've seen not so 
much room for improvement. Caching previous matches (to answer 
Dominique) turned out to be more expensive than checking one more time.

I suppose HTTP server might have much more impact than the whole 
matching. This is the weak spot. And parallelization might help with 
matching as well.

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

Reply via email to