I am doing some performance work in my unit tests and wondering if it was possible to get access to statistics for my RavenDb session (similar to NHibernate session statistics)?
I want to know things like total query count and number of trips to the server.
Berko,
Yes, you can.
Look at the
session.Advancedproperty, you have a number of things there. The most important one of them is probably theNumberOfRequeststhat this session made.