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

Issue 2469963002: Add defer-layout tool. (Closed)

Created:
4 years, 1 month ago by Siggi Cherem (dart-lang)
Modified:
4 years, 1 month ago
Reviewers:
Harry Terkelsen
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add defer-layout tool. This is a simple tool to tell you how libraries map to output units. Here is an example output of the tool: Output unit main: loaded by default contains: - hello_world.dart - dart:core - dart:_internal - dart:_js_primitives - dart:_js_helper - dart:collection - dart:_interceptors - dart:_isolate_helper - dart:async - dart:_js_names - dart:_foreign_helper - dart:_js_embedded_names - dart:isolate - dart:_async_await_error_codes Output unit 2: loaded by importing: [a, b] contains: - c.dart Output unit 1: loaded by importing: [a] contains: - a.dart Output unit 3: loaded by importing: [b] contains: - b.dart BUG= R=het@google.com Committed: https://github.com/dart-lang/dart2js_info/commit/74a8f92d96f926f84ff2b988ad24715b87546420

Patch Set 1 #

Patch Set 2 : Support code split in multiple chunks #

Total comments: 10

Patch Set 3 : review comments #

Total comments: 4

Patch Set 4 : second round of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -2 lines) Patch
M README.md View 1 2 3 3 chunks +47 lines, -1 line 0 comments Download
A bin/deferred_library_layout.dart View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M pubspec.yaml View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Siggi Cherem (dart-lang)
4 years, 1 month ago (2016-11-01 22:41:01 UTC) #2
Siggi Cherem (dart-lang)
OK - I updated the CL. The output now looks like this: Output unit main: ...
4 years, 1 month ago (2016-11-01 23:07:35 UTC) #3
Harry Terkelsen
I see some typos in type names. Please run this in checked mode https://codereview.chromium.org/2469963002/diff/20001/README.md File ...
4 years, 1 month ago (2016-11-01 23:18:29 UTC) #4
Siggi Cherem (dart-lang)
Thanks Harry! https://codereview.chromium.org/2469963002/diff/20001/README.md File README.md (right): https://codereview.chromium.org/2469963002/diff/20001/README.md#newcode81 README.md:81: * [`deferred_library_layout`][deferred_layout]: a tool that reports which ...
4 years, 1 month ago (2016-11-01 23:26:55 UTC) #5
Harry Terkelsen
lgtm https://codereview.chromium.org/2469963002/diff/20001/bin/deferred_library_layout.dart File bin/deferred_library_layout.dart (right): https://codereview.chromium.org/2469963002/diff/20001/bin/deferred_library_layout.dart#newcode18 bin/deferred_library_layout.dart:18: if (info.outputUnit == null) return; On 2016/11/01 23:26:54, ...
4 years, 1 month ago (2016-11-01 23:30:39 UTC) #6
Siggi Cherem (dart-lang)
Thanks Harry! https://codereview.chromium.org/2469963002/diff/20001/bin/deferred_library_layout.dart File bin/deferred_library_layout.dart (right): https://codereview.chromium.org/2469963002/diff/20001/bin/deferred_library_layout.dart#newcode18 bin/deferred_library_layout.dart:18: if (info.outputUnit == null) return; On 2016/11/01 ...
4 years, 1 month ago (2016-11-01 23:37:43 UTC) #7
Siggi Cherem (dart-lang)
4 years, 1 month ago (2016-11-01 23:37:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:50001) manually as
74a8f92d96f926f84ff2b988ad24715b87546420 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698