Rustdoc: Very long doc compile times (95%+ taken by render_html) #132775
Open
Description
opened on Nov 8, 2024
I've recently tried to build rustdocs in one of our projects, and I've noticed some very odd 1h+ compile times for the docs (see the attached profile) with a majority of the time taken by the render_html item in the flamegraph. Also, during that time only a single core is pinned to 100%, even though multiple cores are available. (I don't know if rustdoc is multithreaded in that stage so if it is not that should be as expected)
My question now is: Is this expected behavior? If not, or if you need more information, I can try to create a minimum example that is able to reproduce this issue if that is something someone wants :)
(since the .mm_profdata file is too big I uploaded it to google drive instead :) )
Activity