sql calls timing in call tree dont match with DB calls view
rgupta77
Posts: 3
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
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
Comments
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.
Red Gate
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/displ ... calls+view
(Sub-heading: Linking back to your code)
Red Gate