Just tried to limit thread pool to 2 threads and still get significant
speedup on 98MB text compared to the master:
master: real    7m28.749s
forkjoinpool: real    6m26.121s


2016-04-25 14:18 GMT-04:00 Andriy Rysin <ary...@gmail.com>:
> I've tested it with languagetool-commandline on 98MB text (161467
> paragraphs, 349 rules).
> It goes from
> real    5m36.951s, user    12m29.671s
> to
> real    4m17.062s, user    15m49.569s
> I ran it multiple times on texts of different size. On the 2.4MB file
> (165 paragraphs) the difference gets pretty small but still noticeble
> (~9.0 vs 7.2 s).
>
> How many cores do you have?
>
> Regards,
> Andriy
>
> 2016-04-25 12:14 GMT-04:00 Daniel Naber <daniel.na...@languagetool.org>:
>> On 2016-04-25 16:54, Andriy Rysin wrote:
>>
>>> I've just pushed a forkjoinpool branch that uses ForkJoinPool for
>>> multithreaded checks to github. Please try it out and let me know if
>>> you see any improvement.
>>
>> Trying with a 20KB file with
>> org.languagetool.rules.patterns.PerformanceTest I get results that are
>> about 10-20% worse than before. I tried with both German and English.
>> How did you run your tests?
>>
>> Regards
>>   Daniel
>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers 
>> of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Languagetool-devel mailing list
>> Languagetool-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to