- Welcome to the Sorting Algorithm Benchmark project! This repository provides a benchmarking for various sorting algorithms in C# languages using BenchmarkDotnet and with a Strategy Design pattern to implements differents sorting algos. As you must know, Sorting is a fundamental operation in computer science, and it's important to understand how different algorithms perform under various conditions.
- Bubble Sorting
- Heap Sorting
- Merge Sorting
- uickSorting
-
Clone this repository:
$ git clone https://github.com/zwdOr20/Sorting-algos-benchmarking.git
-
Move to the solution directory
$ cd solution
-
restore and build project
$ dotnet restore $ dotnet build
-
Move to the BenchmarkingEntryPoint project directory
$ cd your-apiTenisAPI.API
-
run api run
$ dotnet run --property:Configuration=Release
-
Result will be in the directory
- if you are using .NET6 the benchmarking result will be generated in this directory :
\BenchMarkingEntryPoint\bin\Release\net6.0\BenchmarkDotNet.Artifacts\results