Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-M19
-
None
Description
Our Maven site now has about 150,000 Doxia files to render (mostly Markdown and some ASCII doc). During profiling, I realized the Maven site plugin was spending around 18 minutes in the addModuleFiles() method. When looking at the code, I realized the algorithm was *O(n² - n / 2)* the way it adds each file it discovers to a map and the iterates through the map for each file.
Attachments
Issue Links
- links to