Thanks for the pointer. We use Java extension quite a bit and run the
workflow from within an Eclipse plugin. I think that the bug you refer to
is the problem behind our performance problems.
I see that the latest patch for this bug is committed to the HEAD branch,
so I can test whether this solves our problems using the latest MWE build.