Skip to content

Serious perf regression between 0.22.0 and 0.23.0 #1368

Closed
@AArnott

Description

@AArnott

I recently upgraded Nerdbank.GitVersioning from libgit2sharp 0.22.0 to 0.23.0-pre20160803182831 because it fixed #1338. But after running my tests, I found there was a huge perf regression in the newer version.

Before, with 0.22.0:
image

After, with 0.23.0-pre20160803182831:
image

Repro instructions:

git clone https://github.com/AArnott/Nerdbank.GitVersioning.git
cd Nerdbank.GitVersioning
git checkout 4613c2516787
.\init.ps1
src\Nerdbank.GitVersioning.sln

In VS, build the solution.
In Test Explorer set "_roundtrip" to be your test filter and run tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions