-
-
Notifications
You must be signed in to change notification settings - Fork 960
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
Same NuGet version used when benchmarking different packages #931
Comments
@Shazwazza could you take a look? |
Working theory:
if (AreDifferent(jobX.Infrastructure.NugetReferences, jobY.Infrastructure.NugetReferences))
return false; Trying to build and test now. |
I think we have a winner.
I'll try to figure out a test and whip up a PR, if you'd like. |
Yup I can have a look tomorrow if you haven't already beat me to it |
@Shazwazza, I'm making good progress on a PR. If it suits you, save your energy for reviewing it. 😁 |
As discussed in Gitter, my attempt to benchmark two different NuGet versions of FakeItEasy seem to be running the benchmarks against a single version. I'm using BenchmarkDotNet version 0.11.1.821 from the nightlies, and started from the example configuration added in #922.
I quote the Gitter conversation:
My benchmark project references 4.9.1, and build my configuration looks like this:
the 4.10.0-make-servicelocat001 package is not an official one, but existed in a local NuGet source I had on my computer.
FakeItEasy.Benchmark.zip contains the source I used to reproduce, including the output I got when I ran
benchmark.ps1
, which attempts to benchmark 4.9.1 alone, 4.10.0-make-servicelocat001 alone, and the two together. The last attempt gives the suspect results.I included
nuget/4.10.0-make-servicelocat001.nupkg
in case someone wants to reproduce.In the .log file for the combined run, I see start dotnet add package FakeItEasy -v 4.10.0-make-servicelocat001 only. No similar line for 4.9.1, even when I change my .csproj to reference something older, like 4.8.0.
I'll try to debug myself, but am occupied for the rest of today. With any luck, I'm doing something silly.
The text was updated successfully, but these errors were encountered: