On 2015-02-14 21:58, Andriy Rysin wrote: > I've pushed a new branch "multithreading" into git. There are 3 > changes right now:
I can confirm it helps quite a bit: For German, testing now takes 4.4ms per sentence on average compared to 5.8ms before (measured with org.languagetool.rules.patterns.PerformanceTest on a text that's 21KB long). For English: 13ms per sentence -> 9.3ms per sentence (also measured on a 21KB text). I also ran PerformanceTest2 with a very short text (400bytes) and while it doesn't get faster, there's also no additional overhead. Regards Daniel ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel