Closed EgorBo closed 3 years ago
Which benchmark did you pick? I just tried a couple and it worked, using the release 5.0 package. I didn't install 6.0. (You can get around the error you saw by setting PERFLAB_TARGET_FRAMEWORKS=netcoreapp5.0
.
Having the net6.0 SDK installed seems to break the dotnet restore
However, uninstalling net6.0 SDK and setting PERFLAB_TARGET_FRAMEWORKS=netcoreapp5.0
works
@stephentoub has hit it as well and reported a bug here: https://github.com/dotnet/sdk/issues/14691
@EgorBo @stephentoub a workaround would be to use the python script to download 5.0 SDK and tell BDN to use 6.0 corerun (corerun does not care if the app is compiled for same version of .NET Core):
py .\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter $yourfiler --corerun C:\prj\runtime\artifacts\bin\testhost\net6.0-windows-Release-x64\shared\Microsoft.NETCore.App\6.0.0\CoreRun.exe
This was a point-in-time issue with the command line port.
Hi, sorry for a stupid question but I tried to follow the https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md workflow in order to run benchmarks on a locally built dotnet/runtime on Windows (used to work like a charm for me on macOS always)
I did
but it complained on missing net6.0 TFM (was introduced quite recently) - OK, I've downloaded the latest daily and installed, now when I run:
it allows me to pick the benchmark but then all of the temp project fail with:
I've opened this temp project and
dotnet restore
works there, but not when I provide all of those switches: