|
Add stats collection for telemetry startup.warm.blank_page test.
This attempts to mirror similar functionality in Chrome.
Add StartupPerformance[Times|DataCollector] to mojo:metrics.
Record times from the shell, mojo:browser, and mojo:html_viewer.
Add the --enable-stats-collection-bindings flag for mandoline.
Add StatsCollectionController to mojo:html_viewer.
This registers and implements JS callbacks for perf testing.
TODO: Record more appropriate times; sanity check values!
TODO: Consolidate more code in startup_metric_utils.
TODO: Serve histogram JSON, not times struct, from mojo:tracing?
TODO: Refine mojo:tracing; combine with or use components/tracing?
TODO: Use base::TimeTicks deltas (crbug.com/521164)
TODO: Android support.
BUG= 513779, 517622, 521164
TEST="./tools/perf/run_benchmark --browser=mandoline-debug startup.warm.blank_page --also-run-disabled-tests" runs okay.
R=yzshen@chromium.org,sky@chromium.org
TBR=gab@chromium.org
Committed: https://crrev.com/57daf7e60527375fd5a15fb30948b5be97bebae7
Cr-Commit-Position: refs/heads/master@{#343983}
Total comments: 42
Total comments: 23
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+466 lines, -89 lines) |
Patch |
 |
M |
components/html_viewer/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_document.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_document.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_document_oopif.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_frame.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
5 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_frame.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
4 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_frame_tree_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_frame_tree_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
components/html_viewer/stats_collection_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
 |
A |
components/html_viewer/stats_collection_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+162 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/startup_metric_utils/startup_metric_utils.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/startup_metric_utils/startup_metric_utils.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/view_manager/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mandoline/tab/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/tab/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/tab/frame_connection.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/ui/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/ui/browser/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/ui/browser/browser_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/common/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/common/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/common/trace_controller_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/common/tracing_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/context.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
3 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/switches.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/services/tracing/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
A + |
mojo/services/tracing/public/cpp/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
mojo/services/tracing/public/cpp/switches.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A |
mojo/services/tracing/public/cpp/switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
mojo/services/tracing/public/interfaces/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
mojo/services/tracing/public/interfaces/tracing.mojom
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/services/tracing/tracing.mojom
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
M |
mojo/services/tracing/tracing_app.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+26 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/services/tracing/tracing_app.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+44 lines, -1 line |
0 comments
|
Download
|
Total messages: 34 (13 generated)
|