AtleX.BenchmarkDotNet.Template.CSharp 1.2.2

dotnet template for BenchmarkDotNet benchmarks in C#.

dotnet new --install AtleX.BenchmarkDotNet.Template.CSharp::1.2.2
This package contains a .NET Core Template Package you can call from the shell/command line.

AtleX.BenchmarkDotNet.Template.CSharp

AtleX.BenchmarkDotNet.Template.CSharp is a template for dotnet new to create a BenchmarkDotNet
console application in C#. It allows you to easily and quickly create a small application
to run some benchmarks.

Installation/update

On the console, run the following command to install or update the template:

dotnet new -i AtleX.BenchmarkDotNet.Template.CSharp

Using the template

Execute the following command to create a new console application to run benchmarks:

dotnet new bdncsharp

You can also specify a name for the application:

dotnet new bdncsharp --name TestBench

After creating the new console application, you can edit Program.cs to write the benchmarks you want to run.

Running the benchmarks

To run the benchmarks, execute the following command in the app's directory to run the benchmarks:

dotnet run --configuration release

AtleX.BenchmarkDotNet.Template.CSharp

AtleX.BenchmarkDotNet.Template.CSharp is a template for dotnet new to create a BenchmarkDotNet
console application in C#. It allows you to easily and quickly create a small application
to run some benchmarks.

Installation/update

On the console, run the following command to install or update the template:

dotnet new -i AtleX.BenchmarkDotNet.Template.CSharp

Using the template

Execute the following command to create a new console application to run benchmarks:

dotnet new bdncsharp

You can also specify a name for the application:

dotnet new bdncsharp --name TestBench

After creating the new console application, you can edit Program.cs to write the benchmarks you want to run.

Running the benchmarks

To run the benchmarks, execute the following command in the app's directory to run the benchmarks:

dotnet run --configuration release

Release Notes

1.2.2:
- [Bug] Fixed incorrecly generated code in Program
1.2.1:
- [Bug] Fixed not being able to run the benchmarks without a solution file (#1)
1.2.0:
- [Feature] Upgraded BenchmarkDotNet to v0.11.5
1.1.0:
- [Feature] Upgraded BenchmarkDotNet to v0.11.4

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.2 264 5/15/2019
1.2.1 85 5/15/2019
1.2.0 172 4/3/2019
1.1.0 173 2/27/2019
1.0.1 267 11/22/2018
1.0.0 150 11/22/2018