I did some quick testing and ForJoinPool does show good improvement in performance, so far with first tests its performance it's just a bit below my previous method with empiric # of threads. :) I'll play with it a bit more and will provide a branch for others to try it out.
Regards, Andriy 2016-03-07 8:21 GMT-05:00 Daniel Naber <daniel.na...@languagetool.org>: > On 2016-01-28 14:18, Andriy Rysin wrote: > >> As you may know I am running regression tests for any LT changes I >> make by checking huge Ukrainian media/book archives I collected over >> time. The full check for 6 text files I check was taking more than an >> hour on my i3 so I upgraded to i7. The time got under 60 min which was >> much better but while LT was using 40% of CPU on i3 (with 4 cores) it >> used only 30% of i7 (with 8 cores) so I always wanted to take another >> shot at our multithreaded logic. > > Late reply but anyway: wouldn't a ForkJoinPool help with this issue? > Have you tried it? > > http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html > > Regards > Daniel > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > 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