DescriptionAdd trace code to track all posted tasks in message_loop and WorkerThreads (non-official builds only).
It's very helpful to understand what chrome is doing at runtime. Sometimes a thread in chrome does something expensive that causes a frame hitch. With this change, any expensive task will show up clearly in traces, with the file/function of where the task was posted.
TEST=go to about:tracing, run a trace and notice that all tasks are traced.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103740
Patch Set 1 #
Total comments: 31
Patch Set 2 : tests, feedback #Patch Set 3 : . #Patch Set 4 : test fix #Patch Set 5 : test fix #Patch Set 6 : win trace tests #
Total comments: 7
Patch Set 7 : removed file/line merge from Location #
Total comments: 4
Patch Set 8 : trace_event.h formatting fix #Patch Set 9 : trace_event.h formatting fix #Patch Set 10 : trace_event.h formatting fix #
Messages
Total messages: 18 (0 generated)
|