yiisoft / yii2-debug

Debug Extension for Yii 2
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
202 stars 151 forks source link

Improve accuracy timing #39

Open dynasource opened 9 years ago

dynasource commented 9 years ago

What is currently covered in the log of the toolbar is:

What is also useful is to provide an actual timeframe which corresponds with the total time displayed in the toolbar in which you get a accurate display of the total request. This requires a log of the:

cebe commented 9 years ago

in the profiling tab we already have Total processing time: 82 ms. This is basically what you need, isn't it?

dynasource commented 9 years ago

It would be logical to synchronize the log with the total processing time. What I am missing is the start & ending time.

My usecase is as follows: I actively use the Log to see how long different parts of the application take. For this I am effectively using a duration column for a while now (https://github.com/yiisoft/yii2-debug/issues/40). But some points are missing. Because the start time isnt logged, I couldnt see the loadtime of the config files.

dynasource commented 9 years ago

screenshot

Within this sceenshot, you can see time the application has actually started. IMHO, this was definately something that was missing. The same applies for loading config files.

samdark commented 9 years ago

Yep. That's interesting info to have.