Closed shaoshing closed 8 years ago
@iwehrman I've eliminated the use of global loadTime
, and switch to the descriptor call's real ID. Back to you for reviewing.
Besides my other comments offline, can we also make action times enabled by default (in debug builds)? This is just to reduce confusion in the short term.
Also, it doesn't seem like the traces in the descriptor "finished" messages are ever very interesting. But maybe I've just been missing the interesting cases.
Also, it might be possible to format these messages a little differently to make it easier to match up the calls. For example, instead of:
[Descriptor] Executing get - 1544
[Descriptor] Finished get in 21ms - 1544
it might help to align the IDs and stick the time at the end:
[Descriptor] Executing get - 1544
[Descriptor] Finished get - 1544 in 21ms
And, as mentioned offline, red highlighting for long calls would be awesome :)
@iwehrman below is the updated version
finished
logLog Actions
by defaultFixed the repeated in
in the message
Well, this is great. Two more micro nits and then I'll merge.
Nits addressed! Back to you @iwehrman
Super cool!
This PR includes the following improvements to the Console and Timeline:
Togglable action log
You will be able to disable action log and timestamp completely by turning
Log Actions
andLog Action Transfers
off. This is useful when you need a clean console or Timeline.Better descriptor log
executing/finished
message in the console, and mapping between the console and timeline.Startup timestamp