Sample Benchmar Application that runs on VS Code
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
.gitignore
EnumToStringBenchmark.cs
Program.cs
SomeEnum.cs
SomeEnumRepository.cs
project.json
project.lock.json
readme.md

readme.md

A sample project

Goal of the project is to provide sample setup of .Net project for Visual Studio Code. It benchmarks Enum type cast to string in two scenarios:

  • using ToString() method
  • using custom dictionary

Requirements

  • .Net Core SDK
  • Visual Studio Code (Optional)

Usage

To run the benchmark, run from command line:

dotnet run -c Release