|
|
Add CSSTiming to collect aggregate PLT-level stats about CSS.
We have histograms on micro-metrics like per stylesheet parse time. This
patch adds histograms of how much aggregate time was spent parsing CSS
before the first paint.
This gives us a much better metric for tracking improvements to CSS
related to loading, as improvements directly map to improvements to
first contentful paint.
BUG= 642722, 666030
Committed: https://crrev.com/37627d6f7cb982de2c40de899bd18b17c6d6943d
Cr-Commit-Position: refs/heads/master@{#432868}
Total comments: 10
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+262 lines, -3 lines) |
Patch |
 |
M |
chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_metrics_messages.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_timing.h
|
View
|
1
2
3
4
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_timing.cc
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/page_load_metrics/page_with_css.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/page_load_metrics/simple.css
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/page_load_metrics/simple.css.mock-http-headers
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/css/CSSTiming.h
|
View
|
1
2
3
4
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/css/CSSTiming.cpp
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/timing/PerformanceTiming.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/timing/PerformanceTiming.cpp
|
View
|
1
2
3
4
|
3 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebPerformance.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebPerformance.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 55 (36 generated)
|