I'm trying to profile a web application we're using but I'm struggling to understand the meaning of everything that's displayed in MiniProfiler output. Here's what I have:
duration (ms) from start (ms) query time (ms)
https://1df 3118.7 +0.0 ! 6 sql 1577.0
50.6 % in sql
client event duration (ms) from start (ms)
Response 177.0 +3861.0
Unload Event 6.0 +3862.0
Dom Content Loaded Event 217.0 +5443.0
Load Event 7.0 +6434.0
Dom Complete +6434.0
share show trivial
Which I interpret as the "server" time for the request is taking 3118 ms, of which roughly 50% is due to DB queries and the rest is due to application logic. If I want to further refine that I understand I just have to add steps to the appropiate page logic to determine the bottlenecks.
However, the actual page takes almost 6 and a half seconds from the moment, that is almost 3 seconds from the moment the response is received til is finally displayed to the user.
What is that times spend into? Is there anyway with Miniprofiler to see what's going on under the hood and determine where time is being spend (this is a "fast" example, sometimes the server time is 300 ms but the other part accounts for 10 seconds, which is simply not acceptable)
Note: configuration debug is set to false in this particular example.