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

Issue 336003003: dump-info additionally dumps a json info file (Closed)

Created:
6 years, 6 months ago by Ty Overby
Modified:
6 years, 6 months ago
Reviewers:
floitsch, sra1, sigurdm
CC:
reviews_dartlang.org, dart2js-team_google.com, sigurdm
Visibility:
Public.

Description

dump-info additionally dumps a json info file In addition to dumping the .info.html file, the dump-info flag now also dumps a .info.json file that contains the same information as the .info.html file. This is the first step in replacing the .info.html file with a dynamic dump viewer. Currently both the .info.json file and the .info.html file are created, however the plan is to remove the .info.html file once a suitable viewer for the .info.json file has been created. BUG= R=floitsch@google.com, sigurdm@google.com, sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=37612

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fixes self-made critiques #

Patch Set 3 : map literal syntax #

Total comments: 11

Patch Set 4 : SRA's suggestions #

Patch Set 5 : fix import show #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -6 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart2js.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dump_info.dart View 1 2 3 4 8 chunks +85 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ty Overby
https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dart2js.dart File sdk/lib/_internal/compiler/implementation/dart2js.dart (right): https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dart2js.dart#newcode426 sdk/lib/_internal/compiler/implementation/dart2js.dart:426: uri = out.resolve('$outName.$extension'); This could probably be grouped into ...
6 years, 6 months ago (2014-06-20 19:36:47 UTC) #1
Ty Overby
https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dart2js.dart File sdk/lib/_internal/compiler/implementation/dart2js.dart (right): https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dart2js.dart#newcode426 sdk/lib/_internal/compiler/implementation/dart2js.dart:426: uri = out.resolve('$outName.$extension'); On 2014/06/20 19:36:47, Ty Overby wrote: ...
6 years, 6 months ago (2014-06-20 19:47:28 UTC) #2
sra1
https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode222 sdk/lib/_internal/compiler/implementation/dump_info.dart:222: Map<String, dynamic> props = {}; You can use the ...
6 years, 6 months ago (2014-06-20 19:49:27 UTC) #3
Ty Overby
https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://codereview.chromium.org/336003003/diff/1/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode222 sdk/lib/_internal/compiler/implementation/dump_info.dart:222: Map<String, dynamic> props = {}; On 2014/06/20 19:49:27, sra1 ...
6 years, 6 months ago (2014-06-20 19:59:13 UTC) #4
sra1
LGTM with the suggestions. Let Florian review before committing. https://chromiumcodereview.appspot.com/336003003/diff/40001/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://chromiumcodereview.appspot.com/336003003/diff/40001/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode146 sdk/lib/_internal/compiler/implementation/dump_info.dart:146: ...
6 years, 6 months ago (2014-06-20 22:16:35 UTC) #5
floitsch
LGTM. I added Sigurd as reviewer, but you don't need to wait for his review. ...
6 years, 6 months ago (2014-06-20 22:27:57 UTC) #6
Ty Overby
https://chromiumcodereview.appspot.com/336003003/diff/40001/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://chromiumcodereview.appspot.com/336003003/diff/40001/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode146 sdk/lib/_internal/compiler/implementation/dump_info.dart:146: json['size_percent'] = On 2014/06/20 22:16:34, sra1 wrote: > inconstistent ...
6 years, 6 months ago (2014-06-20 22:58:04 UTC) #7
Ty Overby
The CQ bit was checked by tyoverby@chromium.org
6 years, 6 months ago (2014-06-20 23:08:17 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 23:10:17 UTC) #9
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 6 months ago (2014-06-20 23:10:18 UTC) #10
sigurdm
LGTM
6 years, 6 months ago (2014-06-23 07:02:33 UTC) #11
Ty Overby
Committed patchset #5 manually as r37612 (presubmit successful).
6 years, 6 months ago (2014-06-23 18:13:14 UTC) #12
sigurdm
6 years, 6 months ago (2014-06-24 06:23:21 UTC) #13
Message was sent while issue was closed.
I now remembered that you should probably also update the help message in --help
--verbose to reflect the new behavior.
It is in the function verboseHelp in the file implementation/dart2js.dart

Powered by Google App Engine
This is Rietveld 408576698