-
-
Couldn't load subscription status.
- Fork 1k
Closed
Milestone
Description
Templates for dotnet new were added for #1028 but don't use any passed arguments for the runner. With the global tool deprecated, this world provide a convenient way of customizing frameworks, reports, etc. from a console.
So instead of:
public static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<$(BenchmarkName)>();
}The templates could use:
public static void Main(string[] args)
{
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
}Metadata
Metadata
Assignees
Labels
No labels