Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NHibernate.Glimpse always records a zero duration in timeline #5

Open
kellystuard opened this issue Sep 20, 2013 · 1 comment
Open

Comments

@kellystuard
Copy link

Looking in https://github.com/ranzlee/NHibernate.Extensions/blob/master/NHibernate.Glimpse/InternalLoggers/SqlInternalLogger.cs

It seems that point.Duration will always be zero and the StartTime will always be the end time of the sql statement that was run.

When I run pages with long queries, Glimpse always shows the queries as taking 0ms.

@ranzlee
Copy link
Owner

ranzlee commented Sep 23, 2013

Hi Kelly,

You are correct. Unfortunately, the NH logging infrastructure doesn’t lend itself to acquiring accurate execution durations for the Glimpse timeline. The actual execution durations do show in the log data in the NH tab. I do plan on looking into parsing the data out for the timeline or switching to the Glimpse ADO hooks (moving off the NH logging infrastructure).

Thanks,

Randy

From: Kelly Stuard
Sent: ‎Friday‎, ‎September‎ ‎20‎, ‎2013 ‎2‎:‎04‎ ‎PM
To: ranzlee/NHibernate.Extensions

Looking in https://github.com/ranzlee/NHibernate.Extensions/blob/master/NHibernate.Glimpse/InternalLoggers/SqlInternalLogger.cs

It seems that point.Duration will always be zero and the StartTime will always be the end time of the sql statement that was run.

When I run pages with long queries, Glimpse always shows the queries as taking 0ms.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants