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

Issue 1811833002: Show max latency on client's status bar (Closed)

Created:
4 years, 9 months ago by Yuwei
Modified:
4 years, 9 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show max latency on client's status bar Will later also consider storing max latency data in server BUG=560950 Committed: https://crrev.com/e37a467453f3814a9ecb0eb6769bd7c58b61cbae Cr-Commit-Position: refs/heads/master@{#382663} Committed: https://crrev.com/d2a0c5cb1217570e7b3da52415f7326f48928053 Cr-Commit-Position: refs/heads/master@{#382957}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 25

Patch Set 3 : [Remoting WebApp]Shows max capture/encode/render/roundtrip latency #

Patch Set 4 : Client code for uploading stats to telemetry server #

Total comments: 9

Patch Set 5 : [Remoting WebApp]Show and upload max capture/encode/render/roundtrip latency #

Patch Set 6 : [Remoting WebApp]Show and upload max capture/encode/render/roundtrip latency #

Total comments: 1

Patch Set 7 : [Remoting WebApp]Show and upload max capture/encode/render/roundtrip latency #

Patch Set 8 : [Remoting WebApp]Show and upload max capture/encode/render/roundtrip latency #

Total comments: 1

Patch Set 9 : JS compiler fix and lld fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -212 lines) Patch
M remoting/base/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
D remoting/base/running_average.h View 1 1 chunk +0 lines, -51 lines 0 comments Download
D remoting/base/running_average.cc View 1 1 chunk +0 lines, -39 lines 0 comments Download
D remoting/base/running_average_unittest.cc View 1 1 chunk +0 lines, -60 lines 0 comments Download
A + remoting/base/running_samples.h View 1 2 3 chunks +18 lines, -12 lines 0 comments Download
A + remoting/base/running_samples.cc View 1 2 3 4 3 chunks +18 lines, -8 lines 0 comments Download
A remoting/base/running_samples_unittest.cc View 1 1 chunk +92 lines, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -5 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 4 1 chunk +10 lines, -5 lines 0 comments Download
M remoting/client/server_log_entry_client.cc View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
M remoting/protocol/capture_scheduler.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/protocol/performance_tracker.h View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/remoting_test.gypi View 1 2 3 4 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/base/js/chromoting_event.js View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/connection_stats.js View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -9 lines 0 comments Download
M remoting/webapp/base/js/session_logger.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/stats_accumulator.js View 1 2 3 4 5 6 7 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 72 (28 generated)
Yuwei
Hi, this is the CL for showing maximum latency on the client webapp. PTAL:)
4 years, 9 months ago (2016-03-17 01:13:35 UTC) #2
Yuwei
https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.cc File remoting/base/running_max.cc (right): https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.cc#newcode5 remoting/base/running_max.cc:5: #include "remoting/base/running_max.h" running_max.h and running_max.cc are copied and modified ...
4 years, 9 months ago (2016-03-17 18:50:21 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h File remoting/base/running_max.h (right): https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h#newcode21 remoting/base/running_max.h:21: class RunningMax { I don't think we really need ...
4 years, 9 months ago (2016-03-17 19:12:37 UTC) #4
Yuwei
https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h File remoting/base/running_max.h (right): https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h#newcode21 remoting/base/running_max.h:21: class RunningMax { On 2016/03/17 19:12:37, Sergey Ulanov wrote: ...
4 years, 9 months ago (2016-03-17 20:24:44 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h File remoting/base/running_max.h (right): https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h#newcode21 remoting/base/running_max.h:21: class RunningMax { On 2016/03/17 20:24:44, yuweih wrote: > ...
4 years, 9 months ago (2016-03-17 22:00:26 UTC) #6
Yuwei
https://codereview.chromium.org/1811833002/diff/1/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/1811833002/diff/1/remoting/client/plugin/chromoting_instance.cc#newcode1040 remoting/client/plugin/chromoting_instance.cc:1040: data->SetDouble("renderLatency", perf_tracker_.video_paint_ms()); On 2016/03/17 19:12:37, Sergey Ulanov wrote: > ...
4 years, 9 months ago (2016-03-17 22:00:38 UTC) #7
Yuwei
https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h File remoting/base/running_max.h (right): https://codereview.chromium.org/1811833002/diff/1/remoting/base/running_max.h#newcode21 remoting/base/running_max.h:21: class RunningMax { On 2016/03/17 22:00:26, Sergey Ulanov wrote: ...
4 years, 9 months ago (2016-03-17 23:02:39 UTC) #8
Yuwei
Uploaded version 2. Reused RunningAverage and renamed it to RunningSamples. Other changes are mentioned in ...
4 years, 9 months ago (2016-03-18 01:46:20 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc#newcode15 remoting/base/running_samples.cc:15: sum_(0) { while you are here please remove this ...
4 years, 9 months ago (2016-03-18 19:42:06 UTC) #10
Yuwei
https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc#newcode15 remoting/base/running_samples.cc:15: sum_(0) { On 2016/03/18 19:42:06, Sergey Ulanov wrote: > ...
4 years, 9 months ago (2016-03-18 20:06:00 UTC) #11
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc#newcode15 remoting/base/running_samples.cc:15: sum_(0) { On 2016/03/18 20:05:59, yuweih wrote: > On ...
4 years, 9 months ago (2016-03-18 20:17:08 UTC) #12
Yuwei
https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/20001/remoting/base/running_samples.cc#newcode15 remoting/base/running_samples.cc:15: sum_(0) { On 2016/03/18 20:17:08, Sergey Ulanov wrote: > ...
4 years, 9 months ago (2016-03-18 20:46:47 UTC) #13
Yuwei
Version 3 is uploaded. * Reviewer's feedback for const RunningSamples * Status bar UI changed ...
4 years, 9 months ago (2016-03-18 22:09:31 UTC) #14
Yuwei
Version 4 contains code for client to stats to the telemetry server. Since this code ...
4 years, 9 months ago (2016-03-18 23:52:45 UTC) #16
kelvinp
lgtm with nits https://codereview.chromium.org/1811833002/diff/60001/remoting/webapp/base/js/stats_accumulator.js File remoting/webapp/base/js/stats_accumulator.js (right): https://codereview.chromium.org/1811833002/diff/60001/remoting/webapp/base/js/stats_accumulator.js#newcode108 remoting/webapp/base/js/stats_accumulator.js:108: if (values.length == 0) { can ...
4 years, 9 months ago (2016-03-21 19:14:36 UTC) #17
Sergey Ulanov
On 2016/03/18 20:46:47, yuweih wrote: > I will change the UI to display stats with ...
4 years, 9 months ago (2016-03-21 19:21:10 UTC) #18
Yuwei
On 2016/03/21 19:21:10, Sergey Ulanov wrote: > On 2016/03/18 20:46:47, yuweih wrote: > > I ...
4 years, 9 months ago (2016-03-21 19:28:02 UTC) #19
Yuwei
https://codereview.chromium.org/1811833002/diff/60001/remoting/webapp/base/js/stats_accumulator.js File remoting/webapp/base/js/stats_accumulator.js (right): https://codereview.chromium.org/1811833002/diff/60001/remoting/webapp/base/js/stats_accumulator.js#newcode108 remoting/webapp/base/js/stats_accumulator.js:108: if (values.length == 0) { On 2016/03/21 19:14:36, kelvinp ...
4 years, 9 months ago (2016-03-21 19:29:25 UTC) #20
Sergey Ulanov
lgtm after my comments are addressed. https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc#newcode46 remoting/base/running_samples.cc:46: // O(n*w), may ...
4 years, 9 months ago (2016-03-21 19:35:06 UTC) #21
Yuwei
https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc#newcode46 remoting/base/running_samples.cc:46: // O(n*w), may be improved. On 2016/03/21 19:35:06, Sergey ...
4 years, 9 months ago (2016-03-21 19:59:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/80001
4 years, 9 months ago (2016-03-21 20:32:14 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/176105)
4 years, 9 months ago (2016-03-21 20:43:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/100001
4 years, 9 months ago (2016-03-21 23:48:19 UTC) #30
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc File remoting/base/running_samples.cc (right): https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc#newcode46 remoting/base/running_samples.cc:46: // O(n*w), may be improved. On 2016/03/21 19:59:40, yuweih ...
4 years, 9 months ago (2016-03-21 23:54:52 UTC) #31
Yuwei
On 2016/03/21 23:54:52, Sergey Ulanov wrote: > https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc > File remoting/base/running_samples.cc (right): > > https://codereview.chromium.org/1811833002/diff/60001/remoting/base/running_samples.cc#newcode46 ...
4 years, 9 months ago (2016-03-22 00:04:08 UTC) #32
Sergey Ulanov
https://codereview.chromium.org/1811833002/diff/100001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/1811833002/diff/100001/remoting/client/jni/chromoting_jni_instance.cc#newcode501 remoting/client/jni/chromoting_jni_instance.cc:501: ); nit: move this to the previous line, or ...
4 years, 9 months ago (2016-03-22 00:08:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/120001
4 years, 9 months ago (2016-03-22 00:33:03 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/192443)
4 years, 9 months ago (2016-03-22 01:03:15 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/140001
4 years, 9 months ago (2016-03-22 18:14:35 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_TIMED_OUT, no build URL)
4 years, 9 months ago (2016-03-22 20:15:56 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/140001
4 years, 9 months ago (2016-03-22 20:18:51 UTC) #48
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-22 20:25:31 UTC) #49
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/e37a467453f3814a9ecb0eb6769bd7c58b61cbae Cr-Commit-Position: refs/heads/master@{#382663}
4 years, 9 months ago (2016-03-22 20:26:35 UTC) #51
Dan Beam
https://codereview.chromium.org/1811833002/diff/140001/remoting/webapp/base/js/connection_stats.js File remoting/webapp/base/js/connection_stats.js (right): https://codereview.chromium.org/1811833002/diff/140001/remoting/webapp/base/js/connection_stats.js#newcode126 remoting/webapp/base/js/connection_stats.js:126: * @param {number} number of digits after decimal. @param ...
4 years, 9 months ago (2016-03-22 20:49:04 UTC) #53
newt (away)
This CL caused a compile failure on 64-bit Android bots. https://bugs.chromium.org/p/chromium/issues/detail?id=597155
4 years, 9 months ago (2016-03-23 02:17:02 UTC) #56
newt (away)
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1817093005/ by newt@chromium.org. ...
4 years, 9 months ago (2016-03-23 02:21:42 UTC) #57
Yuwei
Fixed the %lld issue. PTAL
4 years, 9 months ago (2016-03-23 19:12:58 UTC) #59
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/180001
4 years, 9 months ago (2016-03-23 20:55:33 UTC) #61
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-23 21:00:59 UTC) #63
newt (away)
PRId64 instead of lld lgtm. It looks like it'll compile, but note that the green ...
4 years, 9 months ago (2016-03-23 21:42:12 UTC) #64
Yuwei
On 2016/03/23 21:42:12, newt wrote: > PRId64 instead of lld lgtm. It looks like it'll ...
4 years, 9 months ago (2016-03-23 22:26:25 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811833002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811833002/180001
4 years, 9 months ago (2016-03-23 22:27:05 UTC) #68
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 9 months ago (2016-03-23 22:41:16 UTC) #70
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 22:43:20 UTC) #72
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d2a0c5cb1217570e7b3da52415f7326f48928053
Cr-Commit-Position: refs/heads/master@{#382957}

Powered by Google App Engine
This is Rietveld 408576698