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

Issue 2837313002: Add UMA to track the number of live URLRequests. (Closed)

Created:
3 years, 8 months ago by xunjieli
Modified:
3 years, 8 months ago
Reviewers:
mmenke, Steven Holte
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org, Charlie Harrison
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to track the number of live URLRequests. UMA data shows that there can be a large number of active HttpStreamRequests at a given time. The number reported by ResourceDispatcherHostImpl doesn't account for the large number of HttpStreamRequests. This CL adds a histogram to track the number of active URLRequests, so we can know whether the cause for the large number of HttpStreamRequests is internal or external to the network stack. BUG=711721 Review-Url: https://codereview.chromium.org/2837313002 Cr-Commit-Position: refs/heads/master@{#467332} Committed: https://chromium.googlesource.com/chromium/src/+/3fcbcc190e8d78af50840b7535893a8662b5e74b

Patch Set 1 : self #

Patch Set 2 : Switch places #

Patch Set 3 : temp #

Total comments: 2

Patch Set 4 : use mutable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
M net/log/net_log_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M net/url_request/url_request_context.h View 1 2 3 3 chunks +11 lines, -3 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 3 4 chunks +20 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
xunjieli
Hi Matt: early data from UMA (go/outstanding_stream_request_4252017) indicates that there can be as many as ...
3 years, 8 months ago (2017-04-25 17:10:06 UTC) #5
mmenke
On 2017/04/25 17:10:06, xunjieli wrote: > Hi Matt: early data from UMA (go/outstanding_stream_request_4252017) indicates > ...
3 years, 8 months ago (2017-04-25 17:33:00 UTC) #7
mmenke
On 2017/04/25 17:33:00, mmenke wrote: > On 2017/04/25 17:10:06, xunjieli wrote: > > Hi Matt: ...
3 years, 8 months ago (2017-04-25 17:47:14 UTC) #8
xunjieli
On 2017/04/25 17:47:14, mmenke wrote: > On 2017/04/25 17:33:00, mmenke wrote: > > On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 18:14:55 UTC) #9
mmenke
On 2017/04/25 18:14:55, xunjieli wrote: > On 2017/04/25 17:47:14, mmenke wrote: > > On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 18:19:50 UTC) #10
xunjieli
On 2017/04/25 18:19:50, mmenke wrote: > On 2017/04/25 18:14:55, xunjieli wrote: > > On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 19:24:34 UTC) #11
mmenke
On 2017/04/25 19:24:34, xunjieli wrote: > On 2017/04/25 18:19:50, mmenke wrote: > > On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 20:58:47 UTC) #12
xunjieli
https://codereview.chromium.org/2837313002/diff/60001/net/url_request/url_request_context.cc File net/url_request/url_request_context.cc (right): https://codereview.chromium.org/2837313002/diff/60001/net/url_request/url_request_context.cc#newcode130 net/url_request/url_request_context.cc:130: largest_outstanding_requests_count_seen_ = url_requests_->size(); Matt: sorry, I might be missing ...
3 years, 8 months ago (2017-04-25 21:21:20 UTC) #13
mmenke
https://codereview.chromium.org/2837313002/diff/60001/net/url_request/url_request_context.cc File net/url_request/url_request_context.cc (right): https://codereview.chromium.org/2837313002/diff/60001/net/url_request/url_request_context.cc#newcode130 net/url_request/url_request_context.cc:130: largest_outstanding_requests_count_seen_ = url_requests_->size(); On 2017/04/25 21:21:20, xunjieli wrote: > ...
3 years, 8 months ago (2017-04-25 21:50:48 UTC) #14
xunjieli
Thanks, Matt. Done. +holte@ PTAL at histograms.xml. Thanks
3 years, 8 months ago (2017-04-25 22:07:40 UTC) #18
Steven Holte
lgtm
3 years, 8 months ago (2017-04-26 01:38:40 UTC) #20
mmenke
Looks great, LGTM!
3 years, 8 months ago (2017-04-26 14:24:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837313002/100001
3 years, 8 months ago (2017-04-26 14:32:34 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 15:51:39 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/3fcbcc190e8d78af50840b753589...

Powered by Google App Engine
This is Rietveld 408576698