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

Issue 2036123003: [HttpCache] Record age of validated and updated stale cache entries (Closed)

Created:
4 years, 6 months ago by jkarlin
Modified:
4 years, 6 months ago
Reviewers:
gavinp, rkaplow
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, asvitkine+watch_chromium.org, kinuko+cache_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[HttpCache] Record age of validated and updated stale cache entries It would be good to know the correlation between an entry's age and its likelihood to be validated vs updated. This CL adds two new metrics which record the stale entry's age (as a percentage of freshness) when it's validated and when it's updated. BUG=614355 Committed: https://crrev.com/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695 Cr-Commit-Position: refs/heads/master@{#397720}

Patch Set 1 #

Patch Set 2 : Didn't mean to move that #

Patch Set 3 : Record age as well #

Total comments: 2

Patch Set 4 : Address comments from PS3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M net/http/http_cache_transaction.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 chunks +24 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
jkarlin
gavinp@ PTAL at everything rkaplow@ PTAL at histograms.xml Thanks!
4 years, 6 months ago (2016-06-03 12:17:25 UTC) #2
gavinp
lgtm, although non-200s can be cached and validated... https://codereview.chromium.org/2036123003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2036123003/diff/40001/tools/metrics/histograms/histograms.xml#newcode17962 tools/metrics/histograms/histograms.xml:17962: + ...
4 years, 6 months ago (2016-06-03 14:44:05 UTC) #3
jkarlin
Thanks! https://codereview.chromium.org/2036123003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2036123003/diff/40001/tools/metrics/histograms/histograms.xml#newcode17962 tools/metrics/histograms/histograms.xml:17962: + to a stale entry and is updated ...
4 years, 6 months ago (2016-06-03 14:51:38 UTC) #4
rkaplow
lgtm
4 years, 6 months ago (2016-06-03 14:59:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036123003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2036123003/60001
4 years, 6 months ago (2016-06-03 15:06:01 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-03 16:13:47 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 16:16:49 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695
Cr-Commit-Position: refs/heads/master@{#397720}

Powered by Google App Engine
This is Rietveld 408576698