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

Issue 1824713002: Break down HTTPCache.Result metric by resource type (Closed)

Created:
4 years, 9 months ago by jkarlin
Modified:
4 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, 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

Break down HTTPCache.Result metric by resource type We'd like to know how often different resource types are cached and revalidated, so this CL adds cache pattern metrics for common resource types. Note that the resource type is a guess based on the URL's path. There will be many missed resources but I anticipate the fraction of false positives will be low. BUG=596569 Committed: https://crrev.com/5152e48e43339dbe3013b647c00bfff4867eb087 Cr-Commit-Position: refs/heads/master@{#383319}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Patch Set 3 : Address comments from PS1 #

Total comments: 4

Patch Set 4 : Add ecmascript #

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

Messages

Total messages: 19 (6 generated)
jkarlin
ttuttle: PTAL at net/ rkaplot: PTAL at histograms.xml Thanks!
4 years, 9 months ago (2016-03-21 18:21:29 UTC) #2
rkaplow
https://codereview.chromium.org/1824713002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1824713002/diff/1/tools/metrics/histograms/histograms.xml#newcode16800 tools/metrics/histograms/histograms.xml:16800: +<histogram name="HttpCache.Pattern.CSS" enum="HttpCachePattern"> can you switch to using the ...
4 years, 9 months ago (2016-03-22 15:02:05 UTC) #3
Deprecated (see juliatuttle)
https://codereview.chromium.org/1824713002/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1824713002/diff/1/net/http/http_cache_transaction.cc#newcode2707 net/http/http_cache_transaction.cc:2707: Have you thought about examining the content-type header? It ...
4 years, 9 months ago (2016-03-22 15:12:47 UTC) #4
jkarlin
Thanks! PTAL. https://codereview.chromium.org/1824713002/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1824713002/diff/1/net/http/http_cache_transaction.cc#newcode2707 net/http/http_cache_transaction.cc:2707: On 2016/03/22 15:12:47, Julia Tuttle (deprecated) wrote: ...
4 years, 9 months ago (2016-03-23 14:54:57 UTC) #6
rkaplow
lgtm
4 years, 9 months ago (2016-03-23 17:35:06 UTC) #8
Deprecated (see juliatuttle)
https://codereview.chromium.org/1824713002/diff/80001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1824713002/diff/80001/net/http/http_cache_transaction.cc#newcode2709 net/http/http_cache_transaction.cc:2709: if (GetResponseInfo()->headers && Do you have a sense from ...
4 years, 9 months ago (2016-03-23 19:28:48 UTC) #9
jkarlin
Julia: PTAL, thanks! https://codereview.chromium.org/1824713002/diff/80001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1824713002/diff/80001/net/http/http_cache_transaction.cc#newcode2709 net/http/http_cache_transaction.cc:2709: if (GetResponseInfo()->headers && On 2016/03/23 19:28:48, ...
4 years, 9 months ago (2016-03-24 11:09:00 UTC) #10
jkarlin
On 2016/03/24 11:09:00, jkarlin wrote: > Julia: PTAL, thanks! > > https://codereview.chromium.org/1824713002/diff/80001/net/http/http_cache_transaction.cc > File net/http/http_cache_transaction.cc ...
4 years, 9 months ago (2016-03-25 17:08:29 UTC) #11
Deprecated (see juliatuttle)
On 2016/03/25 17:08:29, jkarlin wrote: > On 2016/03/24 11:09:00, jkarlin wrote: > > Julia: PTAL, ...
4 years, 9 months ago (2016-03-25 17:42:18 UTC) #12
jkarlin
Thanks! Hope you're feeling better.
4 years, 9 months ago (2016-03-25 17:43:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824713002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824713002/100001
4 years, 9 months ago (2016-03-25 17:43:40 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 9 months ago (2016-03-25 18:36:29 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 18:38:10 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5152e48e43339dbe3013b647c00bfff4867eb087
Cr-Commit-Position: refs/heads/master@{#383319}

Powered by Google App Engine
This is Rietveld 408576698