[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880101#comment-17880101
 ] 

ASF GitHub Bot commented on DOXIASITETOOLS-344:
-----------------------------------------------

asfgit merged PR #170:
URL: https://github.com/apache/maven-doxia-sitetools/pull/170




> 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