Skip to content

Gitversion slows down dramatically with dotnet 4.7.1 #1361

@joewaid

Description

@joewaid

dllsdotnet470.txt
dllsdotnet471.txt

I've been chasing a strange performance issue with gitversion on some build servers. On most build servers gitversion takes about 1 minute to run and calculate the version number for a specific repo. On some new build servers it takes 10 minutes to do the same calculation on the same repo.

I reviewed the dlls loaded by gitversion on a slow machine and on a fast machine and was able to determine that the slow machines were running dotnet 4.7.1 and the fast machines had dotnet 4.7.0.

I installed dotnet 4.7.1, via chocolatey, onto a machine that was running quickly, taking about 1 minute to calculate the version number, and after rebooting that time has increased to about 10 minutes.

I'm running the command: gitversion from the root of my repo with no command line arguments in this test. I'm running the latest version of gitversion 3.6.4.

I've attached a list of the dlls loaded by gitversion and their version information with both dotnet4.7 and dotnet4.7.1 from the same machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions