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

share progress information in pub build #17481

Closed
sigmundch opened this issue Mar 14, 2014 · 4 comments
Closed

share progress information in pub build #17481

sigmundch opened this issue Mar 14, 2014 · 4 comments
Assignees

Comments

@sigmundch
Copy link
Member

Pub build does a lot behind the scenes, sometimes it takes a long time before it even says 'building ...'.

Some ideas:
 - show some feedback of what's happening (loading transformers from package foo)
 - show 'building ... ' right away

@sigmundch
Copy link
Member Author

To share a bit more detail. I'm seeing these times on my local machine when building todomvc:

todomvc with polymer 0.10.0-pre.2

at 0s -- invoke pub-build
at 21s -- pub prints "Building todomvc ..."
at 23s -- first dart2js info message (probably transformers are done?)
at 36s -- build ends.

I'm preparing some changes in my transformer that add even more time. In particular, I'm adding dependencies on the analyzer, and I'm adding transformers to other packages that polymer depends on. This seemed to have a big cost in the bootstrap time. Here are the times with my changes:

at 0s -- start
at 40s -- "Building todomvc ..."
at 46s -- dart2js begins
at 58s -- end

It would be good to share what is going on during the first chunk of time (40s with my changes).

@munificent
Copy link
Member

Set owner to @munificent.
Added Started label.

@munificent
Copy link
Member

Added Fixed label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#917.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants