-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Excessively slow and 100% CPU usage #202
Comments
v2 is much smarter about how it gathers the differences between two versions (see #144), and is useful for a bunch of use cases (namely #136 and #142). The downside of this is that it has to fetch the v1 just calls I would suggest using |
Thanks for the explanation. although it's not what I was hoping to hear. I suppose we'll have to stay at v1. I run the process over a semi-slow VPN connection, so I expect this could explain why it takes so long, but that doesn't really explain the pegged CPU usage I don't think. The problem with using |
I'm not sure I follow – you can just choose a You could also use the |
The So being able to generate a changelog for "all changes in this minor version" for example would be super useful. I'm still curious as to why the process is using 100% CPU when it's mostly waiting for git command responses. |
Using v2.2.1, running auto-changelog takes several minutes during which it consumes 100% (or as much as it can get) of my CPU (all threads), making my PC unusable until done.
Using v1.16.4 it completes in a few seconds.
In one test against the same repo in the same state, v1.16.4 took under 10 seconds whereas v2.2.1 took 5 minutes.
For almost all of the time, the status display is:
System:
Intel Core i7-9850H (9th gen. 6 cores 12 threads)
Windows 10 Professional
NodeJS 14.16.0.
Git 2.29.0.windows.1
Changleog template:
The text was updated successfully, but these errors were encountered: