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

Issue 36213002: Only run at most 10 transformers at once in barback. (Closed)

Created:
7 years, 2 months ago by nweiz
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, Bob Nystrom
Visibility:
Public.

Description

Only run at most 10 transformers at once in barback. BUG=14320 R=alanknight@google.com Committed: https://code.google.com/p/dart/source/detail?r=29060

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : Bug fixes #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -134 lines) Patch
M pkg/barback/lib/src/file_pool.dart View 4 chunks +13 lines, -133 lines 0 comments Download
M pkg/barback/lib/src/package_graph.dart View 1 2 chunks +8 lines, -0 lines 0 comments Download
A pkg/barback/lib/src/pool.dart View 1 2 1 chunk +133 lines, -0 lines 4 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 2 1 chunk +4 lines, -1 line 0 comments Download
A pkg/barback/test/package_graph/many_parallel_transformers_test.dart View 1 1 chunk +33 lines, -0 lines 0 comments Download
M pkg/barback/test/transformer/mock.dart View 2 chunks +6 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
nweiz
7 years, 2 months ago (2013-10-22 23:16:11 UTC) #1
Alan Knight
lgtm https://codereview.chromium.org/36213002/diff/1/pkg/barback/lib/src/pool.dart File pkg/barback/lib/src/pool.dart (right): https://codereview.chromium.org/36213002/diff/1/pkg/barback/lib/src/pool.dart#newcode105 pkg/barback/lib/src/pool.dart:105: /// A [PoolResource] is a token that indicates ...
7 years, 2 months ago (2013-10-23 00:24:06 UTC) #2
nweiz
https://codereview.chromium.org/36213002/diff/1/pkg/barback/lib/src/pool.dart File pkg/barback/lib/src/pool.dart (right): https://codereview.chromium.org/36213002/diff/1/pkg/barback/lib/src/pool.dart#newcode105 pkg/barback/lib/src/pool.dart:105: /// A [PoolResource] is a token that indicates that ...
7 years, 2 months ago (2013-10-23 04:11:25 UTC) #3
nweiz
Committed patchset #3 manually as r29060 (presubmit successful).
7 years, 2 months ago (2013-10-23 04:13:49 UTC) #4
Bob Nystrom
A couple of nits, but LGTM. https://codereview.chromium.org/36213002/diff/90001/pkg/barback/lib/src/pool.dart File pkg/barback/lib/src/pool.dart (right): https://codereview.chromium.org/36213002/diff/90001/pkg/barback/lib/src/pool.dart#newcode52 pkg/barback/lib/src/pool.dart:52: Future<PoolResource> checkOut() { ...
7 years, 1 month ago (2013-10-28 17:32:21 UTC) #5
nweiz
7 years, 1 month ago (2013-10-29 00:06:21 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/36213002/diff/90001/pkg/barback/lib/src/pool....
File pkg/barback/lib/src/pool.dart (right):

https://codereview.chromium.org/36213002/diff/90001/pkg/barback/lib/src/pool....
pkg/barback/lib/src/pool.dart:52: Future<PoolResource> checkOut() {
On 2013/10/28 17:32:21, Bob Nystrom wrote:
> What do you think of "acquire" for this? "checkOut" seems a little strange
when
> the opposite operation is "release" to me. I would expect "return" or
something
> like that in that case.

Done. Referring to the "acquired resources" as the set of resources that are in
use seemed weird, so I started using "allocated" for that.

https://codereview.chromium.org/36213002/diff/90001/pkg/barback/lib/src/pool....
pkg/barback/lib/src/pool.dart:89: /// Indicates that some external action has
occurred and the timer should be
On 2013/10/28 17:32:21, Bob Nystrom wrote:
> "Indicates that some external action" -> "A resource has been checked out or
> released"

Done.

Powered by Google App Engine
This is Rietveld 408576698