So it seems like you can add extra commands to the dotnet tooling, how cool would it be to be able to do dotnet benchmark?
This could then interact with the BenchmarkSwitcher so you can do --class=Benchmarks, --diagnosers=Memory, etc
From my understanding we would have to propose it as a CLI issue, but if we were serious about it, I think someone should do a proof-of-concept first.
Anyone agree? Anyone want to take it on?
Good idea, but as for me I don't have time now.
An interesting post about the subj: https://surfingthecode.com/fun-with-global-tools-in-.net-core-2.1-preview/
The official documentation: https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools
I would like to do this.
@CodeTherapist, great!
@AndreyAkinshin, Done! At least a first version of it - let me know if that solves this issue.
The tool supports the following syntax:
dotnet benchmarkdotnet [YourAssemblyFileWithBenchmarks.dll] [BenchmarkDotNet Arguments]
Btw. I'm little bit confused because the build is failing.
I can't imagine how my change could break this test or did I missed something?
@CodeTherapist this particular failure is not your fault, I am going to take a look into that failure to see what is going on
Implemented in #1006
Most helpful comment
@AndreyAkinshin, Done! At least a first version of it - let me know if that solves this issue.
The tool supports the following syntax:
dotnet benchmarkdotnet [YourAssemblyFileWithBenchmarks.dll] [BenchmarkDotNet Arguments]Btw. I'm little bit confused because the build is failing.
I can't imagine how my change could break this test or did I missed something?