Live at https://www.jpcode.dev/dotnetperf
Install the template (one-time):
dotnet new install ./templates/benchScaffold a new benchmark:
# Simple benchmark
dotnet new bench -n Bench_MyThing
# With [Params] and [GlobalSetup]
dotnet new bench -n Bench_MyThing --parameterizedThen add the new project to the solution:
dotnet sln add Bench_MyThing