--
You received this message because you are subscribed to the Google Groups "kiama" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiama+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kiama/1e6301f4-9528-4b29-bd62-bd01c5c8167c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kiama/913331FF-D01F-43AD-88C8-E80B0555F8A7%40gmail.com.
Tony
To unsubscribe from this group and stop receiving emails from it, send an email to ki...@googlegroups.com.
On 2 Oct 2019, at 9:19 pm, 'Fred Teunissen' via kiama <ki...@googlegroups.com> wrote:
Hi Tony,Kiama is working very well for us, however we would like it to be a bit faster :-), That is why we are trying to stuff in parallel and use more of the available cores.We are using version 2.2.1 with scala 2.12.10.I've created a small test project (on github). Unfortunately, I don't get exactly the same result as with our big project, but I do get some errors when using multiple threads which don't appear with only 1 thread.I've created one cached attribute which is directly used by the filterByThreshold method. This method is called in two unit tests. The unit test using only 1 thread succeeds, the unit test using 4 threads fails
I added a wrapper function for the cached attribute which synchronises on the node and then uses the cached attribute. This is used by the synchronizedFilterByThresholdmethod. This method is called in two unit tests (1 thread and 4 threads). Both unit test succeed.
To unsubscribe from this group and stop receiving emails from it, send an email to kiama+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kiama/b9bcdc6c-d069-4392-b719-47b745f8af8e%40googlegroups.com.