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

Issue 409653004: Record latencies of connection and arrival of first message in UMA (Closed)

Created:
6 years, 5 months ago by juyik
Modified:
6 years, 4 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Record latencies of connection and arrival of first message in UMA This gives an idea how long it took a connection to complete as well as the arrival of data messages. Also records received GCM data burst size and intervals in UMA, and added previously left-out xml description for another UMA metric. jar: please review histograms.xml BUG=386273 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287645

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addresses Filip's comments. #

Total comments: 4

Patch Set 3 : Addressed Jim's comments and merged issue 406723002 #

Total comments: 2

Patch Set 4 : Addresses Jim's comment. #

Patch Set 5 : fixes test failures. #

Patch Set 6 : fixes test failures. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -10 lines) Patch
M components/gcm_driver/gcm_client_impl_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.cc View 1 2 4 chunks +39 lines, -9 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
juyik
6 years, 5 months ago (2014-07-21 20:18:52 UTC) #1
fgorski
overall looks ok, please address the comments. Also, did you all ready add a histogram ...
6 years, 5 months ago (2014-07-22 04:08:36 UTC) #2
juyik
https://codereview.chromium.org/409653004/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/409653004/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode228 components/gcm_driver/gcm_stats_recorder_impl.cc:228: last_connection_initiation_time_ = base::Time::Now(); On 2014/07/22 04:08:36, fgorski wrote: > ...
6 years, 5 months ago (2014-07-22 17:51:21 UTC) #3
fgorski
On 2014/07/22 17:51:21, juyik wrote: > https://codereview.chromium.org/409653004/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc > File components/gcm_driver/gcm_stats_recorder_impl.cc (right): > > https://codereview.chromium.org/409653004/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode228 > ...
6 years, 5 months ago (2014-07-22 20:11:19 UTC) #4
juyik
jar@chromium.org: Please review histograms.xml
6 years, 5 months ago (2014-07-22 20:15:14 UTC) #5
juyik
Ping. Hi Jim, can you take a look at histograms.xml?
6 years, 4 months ago (2014-07-29 00:21:09 UTC) #6
jar (doing other things)
https://codereview.chromium.org/409653004/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/409653004/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode228 components/gcm_driver/gcm_stats_recorder_impl.cc:228: last_connection_initiation_time_ = base::Time::Now(); I'd strongly suggest using TimeTicks rather ...
6 years, 4 months ago (2014-07-30 21:25:06 UTC) #7
juyik
https://codereview.chromium.org/409653004/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/409653004/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode228 components/gcm_driver/gcm_stats_recorder_impl.cc:228: last_connection_initiation_time_ = base::Time::Now(); On 2014/07/30 21:25:06, jar wrote: > ...
6 years, 4 months ago (2014-07-31 20:55:34 UTC) #8
jar (doing other things)
lgtm % nit (add units to all your histograms) https://codereview.chromium.org/409653004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/409653004/diff/40001/tools/metrics/histograms/histograms.xml#oldcode8252 tools/metrics/histograms/histograms.xml:8252: ...
6 years, 4 months ago (2014-08-01 04:41:47 UTC) #9
juyik
https://codereview.chromium.org/409653004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/409653004/diff/40001/tools/metrics/histograms/histograms.xml#oldcode8252 tools/metrics/histograms/histograms.xml:8252: <histogram name="GCM.RegistrationCompleteTime" units="milliseconds"> On 2014/08/01 04:41:46, jar wrote: > ...
6 years, 4 months ago (2014-08-01 19:01:05 UTC) #10
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 4 months ago (2014-08-01 19:01:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/409653004/60001
6 years, 4 months ago (2014-08-01 19:04:26 UTC) #12
juyik
The CQ bit was unchecked by juyik@chromium.org
6 years, 4 months ago (2014-08-01 22:36:20 UTC) #13
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 4 months ago (2014-08-05 18:26:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/409653004/100001
6 years, 4 months ago (2014-08-05 18:29:19 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 23:07:56 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 23:38:58 UTC) #17
Message was sent while issue was closed.
Change committed as 287645

Powered by Google App Engine
This is Rietveld 408576698