[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed DOXIASITETOOLS-344.
-----------------------------------------
    Resolution: Fixed

Fixed with 
[a040bceb23efbb58ea8fb04b20d97ce8efefa1b7|https://gitbox.apache.org/repos/asf?p=maven-doxia-sitetools.git;a=commit;h=a040bceb23efbb58ea8fb04b20d97ce8efefa1b7].

> Improve performance of case-sensitive file key checking
> -------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-344
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-344
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 2.0.0-M19
>            Reporter: John Dimeo
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to