This project is a benchmark suite for measuring the performance of the SqlKata query builder library. It uses BenchmarkDotNet to provide performance metrics for various query-building scenarios.
- Purpose: Evaluate the performance of different SqlKata query operations.
- Framework: BenchmarkDotNet is used for running and reporting benchmarks.
- Scope: Includes benchmarks for a few select scenarios.
-
Build the Solution: Make sure the solution is built in Release mode for accurate results.
-
Run the Benchmarks: Execute the following command from the root of the repository:
dotnet run -c Release --project .\QueryBuilder.Benchmarks\QueryBuilder.Benchmarks.csproj
-
Select Benchmarks: After running the command, a benchmark selector will appear. This is powered by BenchmarkDotNet's
BenchmarkSwitcher, allowing you to choose which benchmarks to execute interactively. -
View Results: BenchmarkDotNet will output the results to the console and generate detailed reports in the
BenchmarkDotNet.Artifactsdirectory.