|
Instrument parser blocking script execution time.
We already track parser blocking script load time. This patch
adds support for tracking parser blocking script execution time.
We have a few use cases for this:
* allows us to understand % of parse time blocked on script exec
time, to better understand whether script exec time is a
significant contributor to page load time
* having this would have helped us to catch a regression that took
hours of time to identify the root cause of (crbug.com/608424)
* there is a desire to understand how much time scripts inserted
via doc.write spend executing, in addition to loading
BUG= 640260
Committed: https://crrev.com/cb637fa03a98d0f764cfcfac6fae5cebc4c7c473
Cr-Commit-Position: refs/heads/master@{#417330}
Total comments: 2
Total comments: 1
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+277 lines, -83 lines) |
Patch |
 |
M |
chrome/browser/page_load_metrics/metrics_web_contents_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/observers/page_load_metrics_observer_test_harness.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_metrics_messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_timing.h
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/page_load_metrics/page_load_timing.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DocumentParserTiming.h
|
View
|
1
2
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/ScriptLoader.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+24 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/ScriptRunner.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/ScriptRunner.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
15 chunks |
+52 lines, -53 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/timing/PerformanceTiming.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/timing/PerformanceTiming.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebPerformance.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebPerformance.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
Total messages: 85 (64 generated)
|