On 2013-08-19 22:12, Dominique Pellé wrote:

> In this example, the speed up is +37.5%. Useful speed up, but at the
> same time I was hoping for more speed up given that I have 4
> cores on my i5 laptop.

I haven't analyzed this yet, but:
* The slowest thread will determine overall performance. This could 
surely be improved by not splitting the rules into x sub lists but 
somehow feeding them into the available threads. Actually, this could 
maybe even simplify the code.
* It's really only the rule matching that's parallel, not the text 
analysis.

There shouldn't be much locking, but I haven't checked that.

Regards
  Daniel

-- 
http://www.danielnaber.de

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to