Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.25 KB

File metadata and controls

30 lines (20 loc) · 1.25 KB

QueryBuilder.Benchmarks

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.

About

  • 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.

How to Use

  1. Build the Solution: Make sure the solution is built in Release mode for accurate results.

  2. Run the Benchmarks: Execute the following command from the root of the repository:

    dotnet run -c Release --project .\QueryBuilder.Benchmarks\QueryBuilder.Benchmarks.csproj
  3. 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.

  4. View Results: BenchmarkDotNet will output the results to the console and generate detailed reports in the BenchmarkDotNet.Artifacts directory.

References