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

Issue 1921613003: Count successes of link rel=prefetch (Closed)

Created:
4 years, 8 months ago by jkarlin
Modified:
4 years, 8 months ago
Reviewers:
gavinp, Ilya Sherman, mmenke
CC:
chromium-reviews, loading-reviews_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Count successes of link rel=prefetch Add metrics to count the number of bytes for requests fulfilled by the cache that were filled by earlier prefetches. Also measures how long those particular requests take (to compare against time taken for prefetch network requests). BUG=606366 Committed: https://crrev.com/cc6943dbb0984ae198fa36706126d42a87a65d7b Cr-Commit-Position: refs/heads/master@{#389534}

Patch Set 1 #

Patch Set 2 : Nit #

Total comments: 5

Patch Set 3 : Remove braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M content/browser/loader/resource_loader.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
jkarlin
gavinp@ PTAL at everything isherman@ PTAL at histograms.xml Thanks!
4 years, 8 months ago (2016-04-25 15:08:36 UTC) #2
Ilya Sherman
histograms lgtm
4 years, 8 months ago (2016-04-25 15:12:12 UTC) #3
gavinp
Looks good! https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc#newcode722 content/browser/loader/resource_loader.cc:722: TimeDelta total_time = base::TimeTicks::Now() - request_->creation_time(); Since ...
4 years, 8 months ago (2016-04-25 15:39:05 UTC) #4
jkarlin
Thanks for looking. https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc#newcode722 content/browser/loader/resource_loader.cc:722: TimeDelta total_time = base::TimeTicks::Now() - request_->creation_time(); ...
4 years, 8 months ago (2016-04-25 15:46:14 UTC) #5
gavinp
lgtm. https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1921613003/diff/20001/content/browser/loader/resource_loader.cc#newcode722 content/browser/loader/resource_loader.cc:722: TimeDelta total_time = base::TimeTicks::Now() - request_->creation_time(); On 2016/04/25 ...
4 years, 8 months ago (2016-04-25 15:47:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921613003/40001
4 years, 8 months ago (2016-04-25 16:30:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/172705)
4 years, 8 months ago (2016-04-25 16:41:35 UTC) #11
jkarlin
mmenke@chromium.org: Please review changes in content/browser/loader for OWNERS Thanks!
4 years, 8 months ago (2016-04-25 16:44:14 UTC) #13
mmenke
On 2016/04/25 16:44:14, jkarlin wrote: > mailto:mmenke@chromium.org: Please review changes in content/browser/loader for OWNERS > ...
4 years, 8 months ago (2016-04-25 16:54:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921613003/40001
4 years, 8 months ago (2016-04-25 16:54:52 UTC) #16
commit-bot: I haz the power
Failed to commit the patch.
4 years, 8 months ago (2016-04-25 18:07:02 UTC) #18
jkarlin
Everything is green, can't figure out why the commit failed. Retrying.
4 years, 8 months ago (2016-04-25 19:20:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921613003/40001
4 years, 8 months ago (2016-04-25 19:20:57 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-25 19:25:49 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 19:27:11 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc6943dbb0984ae198fa36706126d42a87a65d7b
Cr-Commit-Position: refs/heads/master@{#389534}

Powered by Google App Engine
This is Rietveld 408576698