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

Integrate with Prestissimo async downloaders #42

Closed
oxyc opened this issue Jun 6, 2016 · 3 comments
Closed

Integrate with Prestissimo async downloaders #42

oxyc opened this issue Jun 6, 2016 · 3 comments

Comments

@oxyc
Copy link

oxyc commented Jun 6, 2016

I'm not well versed with Composer at all, but would it be possible to switch to one of Prestissimo's async file downloaders if they are available? On my computer the scaffolding process takes 16sec. For reference, using prestissimo when downloading drupal-composer/drupal-project dependency packages.json files decreased the build step by 235sec.

@oxyc
Copy link
Author

oxyc commented Jun 6, 2016

Seems Prestissimos CurlRemoteFilesystem isn't completely API compatible yet.

By hacking together a proof of concept, composer drupal-scaffold decreased from ~16 to 11sec by going async. If Prestissimo makes a full implementation of RemoteFilesystem, it would be a nice addition but in it's current state it's probably not worth the effort.

@webflo
Copy link
Member

webflo commented Jun 6, 2016

I had good results with Guzzle, but composer won't autoload the functions on install-time.

@webflo
Copy link
Member

webflo commented May 5, 2017

Merged and tagged 2.3.0

@webflo webflo closed this as completed May 5, 2017
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

2 participants