look at http://ayende.com/Blog/archive/2008/10/04/the-nhibernate-profiler.aspx
(NHProf)

On Oct 2, 12:47 pm, "Bruno Wouters" <[email protected]> wrote:
> Hi all,
>
> Is there a way to measure the total time spent by the database executing
> queries etc?
>
> I would like to display the number of seconds that are spent by the
> database.
>
> It would be nice if I for example could have a custom IDbCommand so I can
> measure the time spend in the ExecuteNonQuery, ExecuteReader, . methods.
>
> I also looked at IInterceptor.PostFlush & PreFlush, but this is only the
> time writing to the database. I should also have the time while reading.
>
> Any ideas?
>
> Thanks!
>
> Greets,
>
> Bruno
--~--~---------~--~----~------------~-------~--~----~
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