-
Notifications
You must be signed in to change notification settings - Fork 652
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
[Bug]Regression perfomance since 5.2.4 #3212
Comments
If you have ideas on how to improve the performance, pull requests are welcome! 🙏🏼 |
Seeing similar performance regression ( Here's a test setup, straight out-of-the-box, no
Generate 2000 commits, every other commit is tagged 0.50.1, 0.50.2, ..., 0.50.1000
Run
When tripling the commit count to 6000 the numbers grow:
|
This seems like something we should be able to reproduce in a test. If anyone wants to tackle that, we would of course welcome pull requests. Perhaps we could even introduce BenchmarkDotNet with such a test, to ensure the performance doesn't regress once we've fixed it. |
🎉 This issue has been resolved in version 6.0.0-beta.3 🎉 Your GitReleaseManager bot 📦🚀 |
Describe the bug
the code in TaggedCommitVersionStrategy has been change in 5.2.0 with this code
in Mainline mode, it avoid to list all tags
In 5.10.0, the code change and it list all tag, it cause gitversion is very slow in our buildchain (almost 40 minutes)
Expected Behavior
gitversion eecute quickly
Actual Behavior
gitversion very slow
Possible Fix
same as 5.2.4
Steps to Reproduce
Context
In our buildchain, we use repo with many version in githubflow each build is tagged so we have more than 3000 tags.
Gitversion start to be very slow since 5.0.0, so we try to upgrade to 5.10.0. after many research, we found something similar here
#2149
it appear that it fixes our problem
Your Environment
windows 10 64 bit
The text was updated successfully, but these errors were encountered: