|
Implement ubertracing.
This is based on Nat's patch: https://codereview.chromium.org/441873007/
Move timeline and importers to use telemetry.timeline.TraceData
This (admittedly massive) patch actually gives us an ubertrace object: the
TraceData. The key way to understand this CL is to read timeline/trace_data.py file,
then read importer.py. The rest is cosmetic fallout from the signature changes.
A TraceData contains the data from many tracers, and is always serializable. A
TimelineModel is constructed from a single TraceData. Internally, a
TraceData is an in memory version of json of the following form:
{ traceEvents: ...
inspectorTimelineEvnets: ...
tabIds: ...
}
Since a TraceData has all the tracer data, the model and importer system was
updated so that instead of there being 1 importer per value, the importers
instead indicate which part of the TraceData they can handle, if any.
BUG= 356763
Committed: https://crrev.com/fdb146cf261d909613a1d1b11e70d0ba96280ffe
Cr-Commit-Position: refs/heads/master@{#309489}
Total comments: 8
Total comments: 1
Total comments: 2
Total comments: 2
Total comments: 33
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+706 lines, -750 lines) |
Patch |
 |
M |
tools/perf/measurements/smoothness_controller.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tools/perf/measurements/smoothness_unittest.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/perf/measurements/task_execution_time.py
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/perf/metrics/speedindex_unittest.py
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/browser_backend.py
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+28 lines, -26 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome/tracing_backend_unittest.py
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+6 lines, -56 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_backend.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_network.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_timeline.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/core/platform/tracing_controller_backend.py
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/page/actions/action_runner_unittest.py
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/results/json_output_formatter_unittest.py
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/results/page_test_results_unittest.py
|
View
|
1
2
3
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/empty_timeline_data_importer.py
|
View
|
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/empty_timeline_data_importer_unittest.py
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/importer.py
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/inspector_importer.py
|
View
|
|
1 chunk |
+10 lines, -19 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/inspector_importer_unittest.py
|
View
|
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/inspector_timeline_data.py
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/model.py
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+43 lines, -26 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/model_unittest.py
|
View
|
|
1 chunk |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/surface_flinger_importer.py
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/surface_flinger_timeline_data.py
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/timeline/tab_id_importer.py
|
View
|
1
2
3
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/timeline/tab_id_importer_unittest.py
|
View
|
1
2
3
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/timeline_data.py
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/timeline/trace_data.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+183 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/telemetry/telemetry/timeline/trace_data_unittest.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/trace_event_importer.py
|
View
|
|
3 chunks |
+9 lines, -100 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/timeline/trace_event_importer_unittest.py
|
View
|
1
2
3
|
35 chunks |
+66 lines, -261 lines |
0 comments
|
Download
|
 |
D |
tools/telemetry/telemetry/timeline/tracing_timeline_data.py
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/value/trace.py
|
View
|
1
2
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/telemetry/telemetry/value/trace_unittest.py
|
View
|
1
2
3
|
5 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
Total messages: 37 (7 generated)
|