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

Issue 11065052: [net] Add AsyncDNS.TTL histogram. (Closed)

Created:
8 years, 2 months ago by szym
Modified:
8 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, mmenke
Visibility:
Public.

Description

[net] Add AsyncDNS.TTL histogram. Counts of TTL obtained in DNS response. Counted when the address is used. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162329

Patch Set 1 : . #

Total comments: 3

Patch Set 2 : responded to review; moved the has_ttl logic to HostCache::Entry #

Patch Set 3 : fix browser test #

Patch Set 4 : remove obsolete code #

Total comments: 5

Patch Set 5 : responded to review + sycn #

Patch Set 6 : add NET_EXPORT to HostCache::Entry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -52 lines) Patch
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M net/base/host_cache.h View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M net/base/host_cache.cc View 1 2 3 4 2 chunks +12 lines, -4 lines 0 comments Download
M net/base/host_cache_unittest.cc View 1 13 chunks +29 lines, -20 lines 0 comments Download
M net/base/host_resolver_impl.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M net/base/host_resolver_impl.cc View 1 2 3 4 12 chunks +33 lines, -18 lines 0 comments Download
M net/base/mock_host_resolver.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_resolver_js_bindings.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
szym
I opted to count the TTL whenever the result is used. The resulting distribution should ...
8 years, 2 months ago (2012-10-08 20:25:41 UTC) #1
cbentzel
I like and agree with how you are measuring the TTL distribution. Some interface complexity ...
8 years, 2 months ago (2012-10-11 18:27:30 UTC) #2
szym
http://codereview.chromium.org/11065052/diff/5001/net/base/host_cache.h File net/base/host_cache.h (right): http://codereview.chromium.org/11065052/diff/5001/net/base/host_cache.h#newcode77 net/base/host_cache.h:77: base::TimeDelta ttl); On 2012/10/11 18:27:30, cbentzel wrote: > Could ...
8 years, 2 months ago (2012-10-11 18:33:21 UTC) #3
szym
I moved the default TTL logic back to OnProcTaskComplete and made HostCache::Set accept a HostCache::Entry ...
8 years, 2 months ago (2012-10-12 16:16:54 UTC) #4
cbentzel
LGTM, with some nits. http://codereview.chromium.org/11065052/diff/23001/net/base/host_cache.h File net/base/host_cache.h (right): http://codereview.chromium.org/11065052/diff/23001/net/base/host_cache.h#newcode27 net/base/host_cache.h:27: // As above, but sets ...
8 years, 2 months ago (2012-10-13 10:50:45 UTC) #5
szym
I'm seeing a reproducible crash when refreshing chrome://histograms [17509:17528:1015/121808:FATAL:histogram.cc(552)] Check failed: samples.sum() == 0 (758061727743 ...
8 years, 2 months ago (2012-10-15 19:45:36 UTC) #6
cbentzel
On 2012/10/15 19:45:36, szym wrote: > I'm seeing a reproducible crash when refreshing chrome://histograms Stack ...
8 years, 2 months ago (2012-10-15 21:56:27 UTC) #7
jar (doing other things)
Histograms have some redundant data calculations that are used to diminish spam in recorded data. ...
8 years, 2 months ago (2012-10-16 01:35:03 UTC) #8
kaiwang
Hi szym, if you feel the crash is caused by exisiting histogram code, could you ...
8 years, 2 months ago (2012-10-16 03:10:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/11065052/29001
8 years, 2 months ago (2012-10-17 01:43:37 UTC) #10
commit-bot: I haz the power
Presubmit check for 11065052-29001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-17 01:43:42 UTC) #11
szym
eroman: please approve changes to webui/net_internals
8 years, 2 months ago (2012-10-17 01:46:07 UTC) #12
eroman
lgtm
8 years, 2 months ago (2012-10-17 01:48:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/11065052/29001
8 years, 2 months ago (2012-10-17 02:23:24 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-17 03:04:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/11065052/41003
8 years, 2 months ago (2012-10-17 06:39:54 UTC) #16
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 08:39:45 UTC) #17
Change committed as 162329

Powered by Google App Engine
This is Rietveld 408576698