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

Issue 2473553005: Code cleanup: moving compiler perf tests to compiler/tool (Closed)

Created:
4 years, 1 month ago by Emily Fortuna
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : fix path #

Total comments: 6

Patch Set 3 : siggi cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -92 lines) Patch
D pkg/compiler/lib/src/dart2js_profile_many.dart View 1 chunk +0 lines, -51 lines 0 comments Download
D pkg/compiler/lib/src/dart2js_stress.dart View 1 chunk +0 lines, -38 lines 0 comments Download
A + pkg/compiler/tool/dart2js_profile_many.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + pkg/compiler/tool/dart2js_stress.dart View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Emily Fortuna
this is a hugely important change, I know. Now, back to ssa_builder!
4 years, 1 month ago (2016-11-03 21:21:00 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2js_profile_many.dart File pkg/compiler/tool/dart2js_profile_many.dart (right): https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2js_profile_many.dart#newcode9 pkg/compiler/tool/dart2js_profile_many.dart:9: import '../lib/src/dart2js.dart' as cmdline; now that this is ...
4 years, 1 month ago (2016-11-03 21:38:41 UTC) #4
Emily Fortuna
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2js_profile_many.dart File pkg/compiler/tool/dart2js_profile_many.dart (right): https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2js_profile_many.dart#newcode9 pkg/compiler/tool/dart2js_profile_many.dart:9: import '../lib/src/dart2js.dart' as cmdline; On 2016/11/03 21:38:40, Siggi Cherem ...
4 years, 1 month ago (2016-11-03 22:26:13 UTC) #5
Emily Fortuna
Committed patchset #3 (id:40001) manually as de2697f41c302266ace65d124c216d8e9aa86ae5 (presubmit successful).
4 years, 1 month ago (2016-11-03 22:29:03 UTC) #7
Siggi Cherem (dart-lang)
4 years, 1 month ago (2016-11-03 23:01:38 UTC) #8
Message was sent while issue was closed.
On 2016/11/03 22:26:13, Emily Fortuna wrote:
>
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2...
> File pkg/compiler/tool/dart2js_profile_many.dart (right):
> 
>
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2...
> pkg/compiler/tool/dart2js_profile_many.dart:9: import
'../lib/src/dart2js.dart'
> as cmdline;
> On 2016/11/03 21:38:40, Siggi Cherem (dart-lang) wrote:
> > now that this is outside the lib folder, we no longer use relative paths,
you
> > can use "package:compiler/src/dart2js.dart" instead.
> 
> Done.
> 
>
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2...
> File pkg/compiler/tool/dart2js_stress.dart (right):
> 
>
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2...
> pkg/compiler/tool/dart2js_stress.dart:7: import "../lib/src/dart2js.dart" as
> dart2js;
> On 2016/11/03 21:38:40, Siggi Cherem (dart-lang) wrote:
> > ditto
> 
> Done.
> 
>
https://codereview.chromium.org/2473553005/diff/20001/pkg/compiler/tool/dart2...
> pkg/compiler/tool/dart2js_stress.dart:25:
> "--library-root=${Platform.script.toFilePath()}/../../../../sdk"]
> On 2016/11/03 21:38:40, Siggi Cherem (dart-lang) wrote:
> > in case we run this in windows, we might need to use the 'uriPathToNative'
for
> > the suffix (../../../sdk), or we can do the relative path resolution through
> the
> > Uri class, and only convert to a path at the end. For instance:
> > 
> >   Platform.script.resolve('../../../sdk/').toFilePath()
> 
> I wondered about that when I wrote this, though it looks like dart2js.dart was
> hardcoding that ../.. path with the slashes as well so I thought it was okay.
> But I'll do it correctly here.

yeah - it's odd how it's done there. The "uriPathToNative" call fixes the
slashes, but the fact that we just add it after the filename (rather than
starting from the dir) seems pretty odd.

Powered by Google App Engine
This is Rietveld 408576698