Hey,

I'm writing a benchmark suite to help quickly detect regressions in performance.

Most of it is based on setting things up in the `OnPreRequest` method then logging it out in `OnPostRequest`.

One thing that would be really good to know is a counter of all SQL calls made, and time spent in SQL land.

For example, it would be great to do a summary like:

Total response time was 420ms, 24ms spent in SQL with 13 calls.
Does anyone know a way to track this within the code? It can be done with ODBC tracing, but it's a lot messier.