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

Issue 2752193003: Add histograms to track the number of job controller and job that are (Closed)

Created:
3 years, 9 months ago by Zhongyi Shi
Modified:
3 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org, ssid
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add histograms to track the number of job controller and job that are not cleaned up when HttpStreamFactoryImpl is destructed. BUG=700617 Review-Url: https://codereview.chromium.org/2752193003 Cr-Commit-Position: refs/heads/master@{#458228} Committed: https://chromium.googlesource.com/chromium/src/+/de52d1630afa30d255f1e773d350c758056fd2ed

Patch Set 1 #

Total comments: 11

Patch Set 2 : address Helen's comments #

Total comments: 6

Patch Set 3 : address Alexei's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M net/http/http_stream_factory_impl.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Zhongyi Shi
I'll set up finch chirp alert for these histograms once this CL landed. PTAL, thanks!
3 years, 9 months ago (2017-03-16 23:04:13 UTC) #4
xunjieli
https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc#newcode116 net/http/http_stream_factory_impl.cc:116: // For non-preconnects. Suggest add a DCHECK(it->HasPendingAltJob()||it->HasPendingMainJob()) here to ...
3 years, 9 months ago (2017-03-17 00:47:57 UTC) #7
Zhongyi Shi
Thanks for the review. Helen, ptal! https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc#newcode116 net/http/http_stream_factory_impl.cc:116: // For non-preconnects. ...
3 years, 9 months ago (2017-03-17 02:02:30 UTC) #8
xunjieli
lgtm https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/1/net/http/http_stream_factory_impl.cc#newcode122 net/http/http_stream_factory_impl.cc:122: UMA_HISTOGRAM_COUNTS_1M("Net.JobControllerSet.CountOfJobController", On 2017/03/17 02:02:29, Zhongyi Shi wrote: > ...
3 years, 9 months ago (2017-03-17 13:05:23 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc#newcode109 net/http/http_stream_factory_impl.cc:109: size_t preconnect_controller_count = 0; Nit: Just use int since ...
3 years, 9 months ago (2017-03-20 15:51:59 UTC) #10
xunjieli
https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc#newcode109 net/http/http_stream_factory_impl.cc:109: size_t preconnect_controller_count = 0; On 2017/03/20 15:51:58, Alexei Svitkine ...
3 years, 9 months ago (2017-03-20 16:37:35 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc#newcode109 net/http/http_stream_factory_impl.cc:109: size_t preconnect_controller_count = 0; On 2017/03/20 16:37:35, xunjieli wrote: ...
3 years, 9 months ago (2017-03-20 16:56:04 UTC) #12
xunjieli
On 2017/03/20 16:56:04, Alexei Svitkine (slow) wrote: > https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc > File net/http/http_stream_factory_impl.cc (right): > > ...
3 years, 9 months ago (2017-03-20 17:06:25 UTC) #13
Zhongyi Shi
Alexei, ptal, thanks! https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2752193003/diff/20001/net/http/http_stream_factory_impl.cc#newcode109 net/http/http_stream_factory_impl.cc:109: size_t preconnect_controller_count = 0; On 2017/03/20 ...
3 years, 9 months ago (2017-03-20 21:26:36 UTC) #14
Alexei Svitkine (slow)
lgtm - descriptions are much clearer now, thanks!
3 years, 9 months ago (2017-03-20 21:27:39 UTC) #15
Zhongyi Shi
Sure thing. Sorry about the collapsed description. Landing now.
3 years, 9 months ago (2017-03-20 21:31:45 UTC) #16
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/2752193003/40001
3 years, 9 months ago (2017-03-20 21:33:33 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 23:17:58 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/de52d1630afa30d255f1e773d350...

Powered by Google App Engine
This is Rietveld 408576698