For performance testing services that depend upon a SQL database, the service may be tested with known inputs and the SQL queries that are executed will be captured (along with their results). Then the service may be re-tested but the SQL proxy layer will return known results to the same SQL queries. So long as all of the same queries are repeated when the same inputs are passed to the service, the database will be removed from the test. This could be used to measure data access code performance but it is initially intended more to allow a service to run for a long time reliably (independent of any external database) in order enable investigations into hot paths and ways to reduce garbage collection load.
Install-Package ProductiveRage.SqlProxyAndReplay.Service -Version 1.3.5
dotnet add package ProductiveRage.SqlProxyAndReplay.Service --version 1.3.5
<PackageReference Include="ProductiveRage.SqlProxyAndReplay.Service" Version="1.3.5" />
paket add ProductiveRage.SqlProxyAndReplay.Service --version 1.3.5
- ProductiveRage.SqlProxyAndReplay.Interface (>= 1.3.0)
This package is not used by any popular GitHub repositories.