New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parsing performance worsened #6734
Comments
Please include your Doxyfile as well as I get:
also run with |
Well, I was running with an empty Doxyfile, ignored all warnings, and could see that most time is spend on the "Parsing file..." line. But here a directory with .dox file (with \gmscodeinclude removed), Doxyfile, and the logs from 1.8.14 and 1.8.15: bigdox.zip 1.8.14 says
1.8.15 says
|
Possibly related: while reporting #6715 I noticed that #6592 (commit 07ae32a) increases the resulting Doxygen binary size by 200 kB in Release build (or, conversely, if I revert that commit to work around the bug, Doxygen installation shrinks by 200 kB). That sounds like a lot for a seemingly simple parser change and I suspect this might have some measurable perf impact. |
I just did a quick check and reverted the #6592 patch (was easy as it were only 2 lines changed without interactions in this case) and the timing stayed at the same high level. |
Change in time is a result of the improvement of the markdown processing in #674, the markdown processor is now at a better place and more logical place. |
The move of the markdown processing does not yet explain the increased total running time (markdown is also done in the 1.8.14 version). So it is good to do some code profiling. |
I see a lot of pages (by head over 120) in the "bigdox" case and it looks like they are fed one by one to markdown processor. |
In this commit c61d870 I've moved the markdown processing out of the |
This issue was previously marked 'fixed but not released', |
Looks good. With 1.8.16 for the datalib.dox file posed at the beginning I am now back to
Thank you! |
With larger .dox files, the time to parse the file seems to have increased considerably between Doxygen 1.8.14 and 1.8.15.
With the 100KB .dox file in datalib.dox.zip, I get with doxygen 1.8.14:
But with doxygen 1.8.15 this becomes:
On another 490KB file (similar structure), time even increases from 0.9 seconds to 112 seconds.
The text was updated successfully, but these errors were encountered: