azure-functions-sql-extension/performance
..
.editorconfig
Microsoft.Azure.WebJobs.Extensions.Sql.Performance.csproj
PerformanceBaselines.json
README.md
SqlBindingBenchmarks.cs
SqlInputBindingPerformance.cs
SqlOutputBindingPerformance.cs
SqlTriggerBindingPerformance.cs
SqlTriggerBindingPerformanceTestBase.cs
SqlTriggerBindingPerformance_ChangeRate.cs
SqlTriggerBindingPerformance_Parallelization.cs
SqlTriggerPerformance_BatchOverride.cs
SqlTriggerPerformance_Overrides.cs
SqlTriggerPerformance_PollingIntervalOverride.cs
packages.lock.json

README.md

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.