Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

barback should prioritize transforms that are needed to produce assets with active requests #15596

Closed
jmesserly opened this issue Dec 11, 2013 · 4 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@jmesserly
Copy link

repro instructions in this bug:
https://code.google.com/p/dart/issues/detail?id=15573

"pub serve" appears to be running dart2js on every single entrypoint, instead of just the one I navigate to.

@nex3
Copy link
Member

nex3 commented Dec 11, 2013

"pub serve" appears to be running dart2js on every single entrypoint, instead of just the one I navigate to.

This is by design. In general we want to start running transforms as soon as "pub serve" starts up so that we're more likely to have the fully-transformed assets available when the user requests them. Unfortunately when there are many slow transforms that aren't necessary for every web page, this heuristic doesn't work as well.

We've talked a little about adding optimizations in barback to prioritize transformers needed to fulfill a request once that request comes in. I don't think we have a bug for that yet, so I'm going to hijack this one for the purpose.


Removed Area-Pub label.
Added Library-Barback, Area-Pkg labels.
Changed the title to: "barback should prioritize transforms that are needed to produce assets with active requests".

@jmesserly
Copy link
Author

sounds good to me :)

@anders-sandholm
Copy link
Contributor

Removed Library-Barback label.
Added Pkg-Barback label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/barback#23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

5 participants