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

Issue 255483002: Expand barback's notion of dirtiness to understand declaredness. (Closed)

Created:
6 years, 8 months ago by nweiz
Modified:
6 years, 7 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Expand barback's notion of dirtiness to understand declaredness. Barback is now able to distinguish between a section of the transformer graph that could produce arbitrary new assets and one for which all the transforms have declared their outputs, and so can only produce a subset of those outputs. This allows requests for assets that we know won't be generated to be short-circuited, and will eventually allow us to finish providing inputs to aggregate primary transformers without waiting for the entire previous phase to complete. R=rnystrom@google.com BUG=18226 Committed: https://code.google.com/p/dart/source/detail?r=35546

Patch Set 1 #

Total comments: 14

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -154 lines) Patch
M pkg/barback/lib/src/asset_cascade.dart View 1 5 chunks +15 lines, -14 lines 0 comments Download
M pkg/barback/lib/src/asset_node.dart View 1 9 chunks +12 lines, -12 lines 0 comments Download
M pkg/barback/lib/src/group_runner.dart View 3 chunks +8 lines, -10 lines 0 comments Download
A pkg/barback/lib/src/node_status.dart View 1 1 chunk +54 lines, -0 lines 0 comments Download
M pkg/barback/lib/src/node_streams.dart View 1 2 chunks +20 lines, -6 lines 0 comments Download
M pkg/barback/lib/src/package_graph.dart View 1 5 chunks +10 lines, -6 lines 0 comments Download
M pkg/barback/lib/src/phase.dart View 1 7 chunks +30 lines, -30 lines 0 comments Download
M pkg/barback/lib/src/phase_input.dart View 1 3 chunks +14 lines, -9 lines 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 10 chunks +48 lines, -21 lines 0 comments Download
M pkg/barback/test/package_graph/declaring_transformer_test.dart View 1 2 chunks +122 lines, -43 lines 0 comments Download
M pkg/barback/test/package_graph/lazy_transformer_test.dart View 1 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/barback/test/transformer/check_content_and_rename.dart View 1 1 chunk +8 lines, -3 lines 0 comments Download
A pkg/barback/test/transformer/declaring_check_content_and_rename.dart View 1 1 chunk +25 lines, -0 lines 0 comments Download
A pkg/barback/test/transformer/lazy_check_content_and_rename.dart View 1 1 chunk +20 lines, -0 lines 0 comments Download
M pkg/barback/test/utils.dart View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 8 months ago (2014-04-23 23:59:13 UTC) #1
Bob Nystrom
https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/asset_cascade.dart#newcode59 pkg/barback/lib/src/asset_cascade.dart:59: /// The subscription to the [Phase.onStatusChange] stream of the ...
6 years, 8 months ago (2014-04-25 22:02:33 UTC) #2
nweiz
https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/asset_cascade.dart#newcode59 pkg/barback/lib/src/asset_cascade.dart:59: /// The subscription to the [Phase.onStatusChange] stream of the ...
6 years, 7 months ago (2014-04-28 21:02:00 UTC) #3
Bob Nystrom
https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/node_status.dart File pkg/barback/lib/src/node_status.dart (right): https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/node_status.dart#newcode26 pkg/barback/lib/src/node_status.dart:26: /// [DECLARED]. On 2014/04/28 21:02:00, nweiz wrote: > On ...
6 years, 7 months ago (2014-04-29 18:34:42 UTC) #4
nweiz
https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/node_status.dart File pkg/barback/lib/src/node_status.dart (right): https://codereview.chromium.org/255483002/diff/1/pkg/barback/lib/src/node_status.dart#newcode26 pkg/barback/lib/src/node_status.dart:26: /// [DECLARED]. On 2014/04/29 18:34:43, Bob Nystrom wrote: > ...
6 years, 7 months ago (2014-04-29 20:11:26 UTC) #5
Bob Nystrom
LGTM!
6 years, 7 months ago (2014-04-29 21:01:17 UTC) #6
nweiz
6 years, 7 months ago (2014-04-29 21:32:49 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r35546 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698