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. -
View it on GitHub