gradle-aggregate-javadocs-plugin icon indicating copy to clipboard operation
gradle-aggregate-javadocs-plugin copied to clipboard

aggregateJavadocs task is realy slow in a large multiproject

Open regrog opened this issue 6 years ago • 2 comments

Hi, I'm facing performance issue in my multiproject with about 380 modules. I know that create so many javadoc could be slow, but I want to be sure that I'm not missing something.

Create javadoc for each single project is relatively fast because of Gradle parallelism, but aggregating all, loses this feature.

Any hint about? Thanks

regrog avatar Sep 19 '18 10:09 regrog

Hi @regrog I'm looking at the code. It looks like we take sources from each submodule and then generate javadoc from all those sources. There is no benefit from parallelization. I'm worried that you are hitting limitation of this approach. Unfortunately, we cannot invest time into the maintenance of this plugin now. Unless you are willing to look into it you will need to move away from this plugin.

chali avatar Sep 19 '18 20:09 chali

There is no benefit from parallelization.

It was what I feared. I myself don't know how it's possible to improve that gaining benefits from incremental build. I'm still looking for a solution. Thanks

regrog avatar Sep 20 '18 06:09 regrog