azure-functions-sql-extension/performance/README.md

876 B

Running Performance Tests

Pre-requisites

The performance tests are based on the IntegrationTestBase class. Follow the instructions to set up the pre-requisites for integration tests here.

Run

The performance tests use BenchmarkDotNet to benchmark performance for input and output bindings.

Run the tests from the terminal.

Run all tests

cd performance
dotnet run -c Release

Run subset of tests

You can also pass in an argument to the test runner to run only a subset of tests. Each argument corresponds to a category of tests (each contained in a single class). See SqlBindingBenchmark for the full list of arguments.

cd performance
dotnet run -c Release input

Results

The test results will be generated in the BenchmarkDotNet.Artifacts folder.