GitVersion 6.0.0 taking much longer than 5.12.0 to calculate version #4112
Replies: 2 comments 8 replies
-
I think the best thing you can do is to play around with the |
Beta Was this translation helpful? Give feedback.
6 replies
-
Sorry, cannot spend more time messing around with this. So I've migrated over to use NerdBank.GitVersioning. However, seems like there have been some changes which, at least in some of my repo's, cause GitVersion.Tool to run for much longer when calculating the version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a repo where we've been running GitVersion forever and haven't had issues with it up until now.
It seems like switching to 6.0.0 the time to calculate version went from 57 seconds in CI to around 14 minutes.
We are using the GitVersion.Tool to run.
The config we have in place in 5.12.0 looks like this:
I tried converting it to 6.0.0 and ended up with this. Which took 43 minutes on my local machine:
Then simply removed most of it and ended up with a config like this which takes 2 minutes to complete on my machine. Which is still significantly longer than the older version and it takes around 14 minutes in CI which I really don't want to wait for. The config for this looks like:
I've tried to run with diagnostics enabled, but it doesn't really help me to pinpoint what is increasing the.
Can someone maybe help with where to look at what is causing these performance issues?
Beta Was this translation helpful? Give feedback.
All reactions