Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Issue 1987013002: Add UMA to track time between preload discovery and reference (Closed)

Created:
4 years, 7 months ago by Charlie Harrison
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, asvitkine+watch_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@preload_timing_uma
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to track time between preload discovery and reference. Reference in this case is whenever the preloaded resource has a ResourceClient added to it. This yields an upper bound on the wins of the preload scanner, by tracking the time between scanner discovery and DOM discovery. BUG=603274 Committed: https://crrev.com/bfd430ec1aa83a4a667945453913bc51ab4fc580 Cr-Commit-Position: refs/heads/master@{#396999}

Patch Set 1 #

Patch Set 2 : Include preloads generated by LinkLoader #

Total comments: 2

Patch Set 3 : yoav@ review #

Patch Set 4 : update histograms.xml to be a bit clearer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -3 lines) Patch
M third_party/WebKit/Source/core/fetch/FetchRequest.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchRequest.cpp View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (7 generated)
Charlie Harrison
Yoav, can you take a look at this? I'm trying to establish an upper bound ...
4 years, 7 months ago (2016-05-17 23:48:30 UTC) #2
Yoav Weiss
On 2016/05/17 23:48:30, csharrison wrote: > Yoav, can you take a look at this? I'm ...
4 years, 7 months ago (2016-05-25 12:43:20 UTC) #3
Charlie Harrison
On 2016/05/25 12:43:20, Yoav Weiss wrote: > On 2016/05/17 23:48:30, csharrison wrote: > > Yoav, ...
4 years, 7 months ago (2016-05-25 13:18:56 UTC) #4
Charlie Harrison
On 2016/05/25 12:43:20, Yoav Weiss wrote: > On 2016/05/17 23:48:30, csharrison wrote: > > Yoav, ...
4 years, 7 months ago (2016-05-25 13:18:58 UTC) #5
Charlie Harrison
yoav@ ping. Let me know if my reasoning sounds okay.
4 years, 6 months ago (2016-05-31 17:35:46 UTC) #6
Yoav Weiss
Your reasoning makes sense: this is measuring the PreloadScanner's benefits, not user added <link rel=preload>. ...
4 years, 6 months ago (2016-05-31 18:36:18 UTC) #7
Charlie Harrison
Thanks! +holte for histograms.xml https://codereview.chromium.org/1987013002/diff/2/third_party/WebKit/Source/core/fetch/FetchRequest.h File third_party/WebKit/Source/core/fetch/FetchRequest.h (right): https://codereview.chromium.org/1987013002/diff/2/third_party/WebKit/Source/core/fetch/FetchRequest.h#newcode88 third_party/WebKit/Source/core/fetch/FetchRequest.h:88: void setForPreload(bool forPreload, double discoveryTime ...
4 years, 6 months ago (2016-05-31 19:06:06 UTC) #10
Steven Holte
lgtm
4 years, 6 months ago (2016-05-31 22:08:54 UTC) #11
Charlie Harrison
Thank you!
4 years, 6 months ago (2016-05-31 22:09:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987013002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987013002/50001
4 years, 6 months ago (2016-05-31 22:10:30 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:50001)
4 years, 6 months ago (2016-06-01 00:51:03 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 00:53:15 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bfd430ec1aa83a4a667945453913bc51ab4fc580
Cr-Commit-Position: refs/heads/master@{#396999}

Powered by Google App Engine
This is Rietveld 408576698