Red Gate forums :: View topic - sql calls timing in call tree dont match with DB calls view
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 8
ANTS Performance Profiler 8 forum

sql calls timing in call tree dont match with DB calls view

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rgupta77



Joined: 06 Jun 2013
Posts: 2

PostPosted: Thu Jun 06, 2013 1:39 pm    Post subject: sql calls timing in call tree dont match with DB calls view Reply with quote

The timing for SQL calls as noticed in the call tree view don't match with the timing for sql calls in the database calls view.

In the call tree view the timing is shown to be <0.001 ms whereas the timing in the database calls view for the same sql query is around 40ms.

Can you explain why I see this discrepancy
Back to top
View user's profile Send private message
dene.boulton



Joined: 12 Oct 2011
Posts: 53
Location: Cambridge

PostPosted: Thu Jun 06, 2013 2:21 pm    Post subject: Reply with quote

Hello,

I believe you are likely viewing the call-tree in CPU time; directly above the call-tree on the right is a dropdown to select the 'Timing mode', change this to Wallclock time and the values should match what you are seeing in the Db calls view.


Hope that helps.
_________________
Dene Boulton
Red Gate
Back to top
View user's profile Send private message Send e-mail
rgupta77



Joined: 06 Jun 2013
Posts: 2

PostPosted: Fri Jun 07, 2013 7:55 am    Post subject: sql calls timing in call tree dont match with DB calls view Reply with quote

when I change to wall clock time, I don't see any items in the call tree. It says no significant time was spent in methods with source code. consider switching to CPU time
Back to top
View user's profile Send private message
dene.boulton



Joined: 12 Oct 2011
Posts: 53
Location: Cambridge

PostPosted: Fri Jun 07, 2013 10:32 am    Post subject: Reply with quote

That could be the case, as it depends on the proportionality of time spent in your code vs framework / third party code for the region of time you have selected in the timeline.
Your code will still be in the call-tree stacks, you can use Find for regular method calls (CTRL+F), and for SQL you can go to a specific Query in the 'Database Calls view' where using the blue 'NET' button will take you to that call in the call-tree.

See http://documentation.red-gate.com/display/APP80/Working+with+the+database+calls+view
(Sub-heading: Linking back to your code)
_________________
Dene Boulton
Red Gate
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group