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

Issue 199005: Allow expectations for different graphs within tests.... (Closed)

Created:
11 years, 3 months ago by chase
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/tools/buildbot/scripts/master/
Visibility:
Public.

Description

Allow expectations for different graphs within tests. Only load perf expectations if the 'loaded' key has a true value. Change the format required of the perf_expectations.json file to use a simpler layout and support the graph/result type after the slave/test specifier. BUG=18597 TEST=regression/improvements appear in local tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25403

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 12

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -75 lines) Patch
M log_parser/process_log.py View 1 2 3 4 7 chunks +111 lines, -75 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
chase
This change allows us to set perf expectations based not just on slave, test, and ...
11 years, 3 months ago (2009-09-03 09:16:36 UTC) #1
M-A Ruel
few minor changes http://codereview.chromium.org/199005/diff/1/2 File log_parser/process_log.py (right): http://codereview.chromium.org/199005/diff/1/2#newcode122 Line 122: self._expected_performance = None you should ...
11 years, 3 months ago (2009-09-03 15:13:03 UTC) #2
chase
http://codereview.chromium.org/199005/diff/1/2 File log_parser/process_log.py (right): http://codereview.chromium.org/199005/diff/1/2#newcode122 Line 122: self._expected_performance = None On 2009/09/03 15:13:03, Marc-Antoine Ruel ...
11 years, 3 months ago (2009-09-03 19:10:50 UTC) #3
M-A Ruel
still lgtm http://codereview.chromium.org/199005/diff/5001/5002 File log_parser/process_log.py (right): http://codereview.chromium.org/199005/diff/5001/5002#newcode147 Line 147: self._expected_performance.setdefault(graph_name, {}) FYI, another trick but ...
11 years, 3 months ago (2009-09-03 19:34:33 UTC) #4
Nicolas Sylvain
LGTM if it works ;) http://codereview.chromium.org/199005/diff/5001/5002 File log_parser/process_log.py (right): http://codereview.chromium.org/199005/diff/5001/5002#newcode195 Line 195: if m: # ...
11 years, 3 months ago (2009-09-03 19:58:18 UTC) #5
chase
Making sure to send these even though the patch is done. Thanks. http://codereview.chromium.org/199005/diff/5001/5002 File log_parser/process_log.py ...
11 years, 3 months ago (2009-09-03 23:20:35 UTC) #6
M-A Ruel
last post commit note, feel free to ignore http://codereview.chromium.org/199005/diff/4003/4004 File log_parser/process_log.py (right): http://codereview.chromium.org/199005/diff/4003/4004#newcode238 Line 238: ...
11 years, 3 months ago (2009-09-03 23:43:41 UTC) #7
M-A Ruel
No, it's ripping lines 236 to 246. The exception will be thrown at line 253 ...
11 years, 3 months ago (2009-09-04 00:02:38 UTC) #8
chase
11 years, 3 months ago (2009-09-04 00:23:39 UTC) #9
On 2009/09/04 00:02:38, Marc-Antoine Ruel wrote:
> No, it's ripping lines 236 to 246. The exception will be thrown at
> line 253 anyway.
> 
> I don't really mind, it's just my philosophy of "less is better" :)

Ah, thanks for clarifying and thanks for the reviews.

I will be adding more checks to the presubmit code for the
perf_expectations.json file to ensure someone doesn't check in with missing
'var' and 'delta' keys.  Still, if someone bypasses the commit tests, the slave
failing with an exception in the perf step "name 'delta' is not defined" is not
the clear error I want to show them.  This exception makes the error clearer.  I
plan to leave it as-is for now.  Let me know if you think I should reconsider.

Powered by Google App Engine
This is Rietveld 408576698