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

pub install: could the no-op case be faster? #16494

Closed
kevmoo opened this issue Feb 2, 2014 · 2 comments
Closed

pub install: could the no-op case be faster? #16494

kevmoo opened this issue Feb 2, 2014 · 2 comments
Labels
closed-duplicate Closed in favor of an existing report type-enhancement A request for a change that isn't a bug

Comments

@kevmoo
Copy link
Member

kevmoo commented Feb 2, 2014

~> time pub install
Resolving dependencies...
Got dependencies!

real 0m0.620s
user 0m0.557s
sys 0m0.060s

I could imagine this being useful in more places...or run often/always from other tools (hop) to make sure everything is up-to-date.

BUT! half a second is likely a bit too much overhead.

Is there room here to optimize? Just curious...

Flagging as enhancement, because I think for the common case now, it's plenty fast.

@munificent
Copy link
Member

The majority of that time is probably removing and recreating the "packages" directory with the symlinks in it. I'm just going to close this out as a dupe of that and hopefully it will get faster when we can get rid of symlinks.


Added Duplicate label.
Marked as being merged into #15103.

@DartBot
Copy link

DartBot commented Jun 5, 2015

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants