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

Issue 217053012: Make results_dashboard send just one request per test run. (Closed)

Created:
6 years, 9 months ago by qyearsley
Modified:
6 years, 8 months ago
CC:
chromium-reviews, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org, tonyg
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Visibility:
Public.

Description

Make results_dashboard send just one request per test run. The PerformanceLogs() method of the log processor classes returns a dictionary mapping "log file" names to lists of lines. Each one of those log files corresponds to one chart name. Previously, we were invoking _SendResultsToDashboard for each "log file"; that is, each chart name. With this change, we are now passing the whole dict returned by PerformanceLogs() and making just one request for all points in all charts for a given test run. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=260698

Patch Set 1 #

Total comments: 1

Patch Set 2 : Group results into lists of limited length. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -196 lines) Patch
M scripts/slave/results_dashboard.py View 1 4 chunks +106 lines, -81 lines 3 comments Download
M scripts/slave/runtest.py View 2 chunks +5 lines, -12 lines 0 comments Download
M scripts/slave/unittests/results_dashboard_test.py View 1 20 chunks +170 lines, -103 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ghost stip (do not use)
generally lgtm, with a warning. I don't know if this will appear in practice or ...
6 years, 8 months ago (2014-03-31 18:10:48 UTC) #1
qyearsley
On 2014/03/31 18:10:48, stip wrote: > generally lgtm, with a warning. I don't know if ...
6 years, 8 months ago (2014-03-31 20:31:33 UTC) #2
qyearsley
On 2014/03/31 20:31:33, qyearsley wrote: > On 2014/03/31 18:10:48, stip wrote: > > generally lgtm, ...
6 years, 8 months ago (2014-03-31 21:21:04 UTC) #3
ghost stip (do not use)
nope, lgtm. nice!
6 years, 8 months ago (2014-03-31 23:00:59 UTC) #4
qyearsley
The CQ bit was checked by qyearsley@chromium.org
6 years, 8 months ago (2014-03-31 23:22:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qyearsley@chromium.org/217053012/20001
6 years, 8 months ago (2014-03-31 23:23:00 UTC) #6
commit-bot: I haz the power
Change committed as 260698
6 years, 8 months ago (2014-03-31 23:24:19 UTC) #7
rlarocque
A revert of this CL has been created in https://codereview.chromium.org/219773006/ by rlarocque@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-01 00:15:45 UTC) #8
ghost stip (do not use)
https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_dashboard.py File scripts/slave/results_dashboard.py (left): https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_dashboard.py#oldcode189 scripts/slave/results_dashboard.py:189: _PrintLinkStep(url, master, bot, test_name, revision) as far as I ...
6 years, 8 months ago (2014-04-01 00:28:06 UTC) #9
rlarocque
On 2014/04/01 00:28:06, stip wrote: > https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_dashboard.py > File scripts/slave/results_dashboard.py (left): > > https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_dashboard.py#oldcode189 > ...
6 years, 8 months ago (2014-04-01 00:30:03 UTC) #10
qyearsley
6 years, 8 months ago (2014-04-01 01:14:23 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_da...
File scripts/slave/results_dashboard.py (right):

https://codereview.chromium.org/217053012/diff/20001/scripts/slave/results_da...
scripts/slave/results_dashboard.py:192: _PrintLinkStep(url, master, perf_id,
test_name, revision)
On 2014/04/01 00:28:07, stip wrote:
> add a check here for `if logsdict`. my guess is things were reverted because
an
> empty logsdict somehow got passed?

Alright, so I should add a check here (and also a maybe a check for whether
supplemental_columns is valid), and make it print a warning if something isn't
right.

Then I can re-upload this CL with a different issue number, right?

Powered by Google App Engine
This is Rietveld 408576698