Hi folks

For each web request, I'd like to roughly find out

a - How long the entire request took
b - How much of that time was spent inside NHibernate

Rails gives me this out of the box in the log files, and I miss it a
bit!

I've seen the rhino commons PagePerformanceModule, and also the
EnsureMaxNumberOfQueriesPerRequestModule (2 gems from Ayende, I'm
guessing!).

Getting the page time was easy, any idea how I can get the time in
NHibernate?

I was thinking some kind of decorator around my repositories, although
it feels like quite a lot of duplication. Alternatively there might be
some AOP fun to be had... Any other ways that are "closer to the
metal" you can think of?

Tobin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to