-
Notifications
You must be signed in to change notification settings - Fork 710
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
Typedoc took 2.5 hours in conversions #2586
Comments
Yikes, that's a ridiculously long time... hopefully profiling will quickly reveal the problem when I have time to look this weekend. |
I had to rename Once I did this, TypeDoc consistently finishes building your project in ~17 seconds, using at peak ~1gb RAM There might be something weird going on with the case-insensitive system on Windows, I can try a VM later, but... |
Decided to try a Windows VM on the off chance it still booted... it did. Slower, taking 55 seconds to run, but it still finished within a reasonable amount of time, without requiring the file rename. I'm out of ideas beyond something very wrong with your system (out of ram? nearly full disk with an OS trying to compress things to save space? building on a network share that's having issues? insane antivirus?) |
Out of RAM? Don't think so but not sure, i'll try running just typedoc |
I got curious and gave this a try in my usual Windows environment. First project took 7 minutes, which is in line with @Fancy2209's first results.
I didn't let it continue to verify the rest though. |
The slowness is
It's super fast if you don't have git accessible. The |
Adding |
More testing needed, and likely a complete rework of SourcePlugin as it makes bad assumptions.
Also properly clean up fixture dirs when running tests Resolves #2586
Fixed with 0.26.0-beta.3, with v0.26.0-beta.4 I also added some tests to hopefully avoid this issue in the future, and improved the performance of the source repo when multiple repos are involved. |
Search terms
Typedoc takes really long to generate for no apparent reason
Typedoc Hangs
Typedoc takes 2.5 hours to convert
Typedoc Typescript 4.9.5 stuck
Typedoc conversion takes way too long
Expected Behavior
I expected the docs to be generated relatively quickly
Actual Behavior
Using the beta, I tried to compile https://github.com/Fancy2209/docs/tree/New-Typedoc
I am only 4/7 packages in, and typedoc is has taken increasingly longer times, with @awayjs/materials (third package) having taken 47 minutes alone
Edit: total time was 2.5 hours
Full Console Log
ajstypedoc.log
Steps to reproduce the bug
Running through the docs command
Environment
The text was updated successfully, but these errors were encountered: