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

Issue 2575383004: Don't duplicate virtual and non-virtual baselines. (Closed)

Created:
4 years ago by Jack Bates
Modified:
3 years, 4 months ago
Reviewers:
Dirk Pranke, qyearsley
CC:
blink-reviews, chromium-reviews, Dirk Pranke, ojan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't duplicate virtual and non-virtual baselines. BUG=674202

Patch Set 1 #

Patch Set 2 : Unit test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -6 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py View 1 chunk +13 lines, -4 lines 2 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py View 1 4 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Jack Bates
This change causes optimize-baselines to remove virtual baselines if they're duplicates of their non-virtual baselines. ...
4 years ago (2016-12-15 18:23:06 UTC) #3
qyearsley
+ojan, this is related to the issue from 2013: http://crbug.com/237701 jack@, thanks for working on ...
4 years ago (2016-12-15 18:58:45 UTC) #4
Jack Bates
On 2016/12/15 18:58:45, qyearsley wrote: > +ojan, this is related to the issue from 2013: ...
4 years ago (2016-12-15 21:03:00 UTC) #5
Jack Bates
On 2016/12/15 21:03:00, Jack Bates wrote: > On 2016/12/15 18:58:45, qyearsley wrote: > > +ojan, ...
4 years ago (2016-12-15 22:23:17 UTC) #6
qyearsley
On 2016/12/15 at 22:23:17, jack wrote: > On 2016/12/15 21:03:00, Jack Bates wrote: > > ...
4 years ago (2016-12-16 01:00:13 UTC) #7
Dirk Pranke
I would like either ojan or I (preferably I) or both of us to review ...
4 years ago (2016-12-16 01:07:54 UTC) #9
qyearsley
On 2016/12/16 at 01:07:54, dpranke wrote: > I would like either ojan or I (preferably ...
4 years ago (2016-12-16 01:18:10 UTC) #10
Dirk Pranke
lgtm. Sorry for the delay; I thought this was a different, much more complex change ...
4 years ago (2016-12-18 04:26:00 UTC) #11
qyearsley
On 2016/12/18 at 04:26:00, dpranke wrote: > lgtm. Sorry for the delay; I thought this ...
3 years, 11 months ago (2017-01-03 19:03:33 UTC) #12
qyearsley
3 years, 11 months ago (2017-01-18 00:34:12 UTC) #13
On 2017/01/03 at 19:03:33, qyearsley wrote:
> On 2016/12/18 at 04:26:00, dpranke wrote:
> > lgtm. Sorry for the delay; I thought this was a different, much more complex
change :).
> > 
> >
https://codereview.chromium.org/2575383004/diff/20001/third_party/WebKit/Tool...
> > File
third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py
(right):
> > 
> >
https://codereview.chromium.org/2575383004/diff/20001/third_party/WebKit/Tool...
> >
third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py:86:
directories.append(self._baseline_root(baseline_name))
> > Stylistically, I don't tend to like repeatedly modifying variables
> > in place like this. I'd probably write this as something more like:
> > 
> > directories = ([self._filesystem.replath(path, self._webkit_base)
> >                 for path in self._baseline_search_path(port, baseline_name)]
+ 
> >                [self._baseline_root(baseline_name)])
> > 
> >
https://codereview.chromium.org/2575383004/diff/20001/third_party/WebKit/Tool...
> >
third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py:94:
directories += non_virtual_directories
> > and similar.
> 
> Note, this CL still LGTM (and I agree with dpranke@'s suggestion)

Ping

Powered by Google App Engine
This is Rietveld 408576698