|
|
Chromium Code Reviews|
Created:
5 years, 1 month ago by Eugene But (OOO till 7-30) Modified:
5 years, 1 month ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Description[ios] UMA metric to report cache hit/miss for WKWebView cert verification.
WKWebView Web Controller has a cache of pending cert verification
results to avoid extra verifications when presenting SSL interstitial.
This metric helps to understand whether or not cache miss is possible.
BUG=541736
Committed: https://crrev.com/018d0db613993f7ec1b08eb0c7543e0111e242ed
Cr-Commit-Position: refs/heads/master@{#358240}
Patch Set 1 #Patch Set 2 : Added entry to histograms.xml #
Total comments: 4
Patch Set 3 : Addressed Ilya's review comments #
Messages
Total messages: 21 (8 generated)
Description was changed from ========== [ios] UMA metric to report cache miss for WKWebView cert verification. BUG= ========== to ========== [ios] UMA metric to report cache miss for WKWebView cert verification. WKWebView Web Controller has a cache of pending cert verification results to avoid extra verifications when presenting SSL interstitial. This metric helps to understand whether or not cache miss is possible. BUG=541736 ==========
Description was changed from ========== [ios] UMA metric to report cache miss for WKWebView cert verification. WKWebView Web Controller has a cache of pending cert verification results to avoid extra verifications when presenting SSL interstitial. This metric helps to understand whether or not cache miss is possible. BUG=541736 ========== to ========== [ios] UMA metric to report cache hit/miss for WKWebView cert verification. WKWebView Web Controller has a cache of pending cert verification results to avoid extra verifications when presenting SSL interstitial. This metric helps to understand whether or not cache miss is possible. BUG=541736 ==========
eugenebut@chromium.org changed reviewers: + stuartmorgan@chromium.org
lgtm
eugenebut@chromium.org changed reviewers: + isherman@chromium.org
+isherman for histograms.xml
https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... tools/metrics/histograms/histograms.xml:50615: + enum="BooleanSuccess"> Please define an enum with custom labels for this histogram.
https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... tools/metrics/histograms/histograms.xml:50615: + enum="BooleanSuccess"> On 2015/11/05 21:31:13, Ilya Sherman wrote: > Please define an enum with custom labels for this histogram. What is the advantage of a custom enum? "BooleanSuccess" is used by many diagrams and seems to be suitable for this one.
https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... tools/metrics/histograms/histograms.xml:50615: + enum="BooleanSuccess"> On 2015/11/05 21:35:07, eugenebut wrote: > On 2015/11/05 21:31:13, Ilya Sherman wrote: > > Please define an enum with custom labels for this histogram. > What is the advantage of a custom enum? "BooleanSuccess" is used by many > diagrams and seems to be suitable for this one. "Hit" vs. "Miss" is much clearer than "Success" vs "Failure" for a histogram measuring cache hits. Note that this is purely a histograms.xml metadata change; no C++/Obj-C changes needed.
Thanks! PTAL. https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1414793014/diff/20001/tools/metrics/histogram... tools/metrics/histograms/histograms.xml:50615: + enum="BooleanSuccess"> On 2015/11/05 21:42:01, Ilya Sherman wrote: > On 2015/11/05 21:35:07, eugenebut wrote: > > On 2015/11/05 21:31:13, Ilya Sherman wrote: > > > Please define an enum with custom labels for this histogram. > > What is the advantage of a custom enum? "BooleanSuccess" is used by many > > diagrams and seems to be suitable for this one. > > "Hit" vs. "Miss" is much clearer than "Success" vs "Failure" for a histogram > measuring cache hits. Note that this is purely a histograms.xml metadata > change; no C++/Obj-C changes needed. Sure. Done.
LGTM
The CQ bit was checked by eugenebut@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from stuartmorgan@chromium.org Link to the patchset: https://codereview.chromium.org/1414793014/#ps40001 (title: "Addressed Ilya's review comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414793014/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414793014/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by eugenebut@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414793014/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414793014/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/018d0db613993f7ec1b08eb0c7543e0111e242ed Cr-Commit-Position: refs/heads/master@{#358240} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
