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

Debian / Ubuntu package taking hours to update on SSD #1264

Open
wvengen opened this issue Jun 28, 2019 · 0 comments
Open

Debian / Ubuntu package taking hours to update on SSD #1264

wvengen opened this issue Jun 28, 2019 · 0 comments

Comments

@wvengen
Copy link

wvengen commented Jun 28, 2019

I'm really happy that the Heroku CLI is packaged as a deb package, so it can be installed system-wide and upgraded as part of system updates. But when upgrading the heroku package on my MacBook Pro 11,2 with SSD storage (APPLE SSD SM0512F, UXM2JA1Q), it literally can take hours, bringing IO performance down (now and then even to an unusable state).

This is probably because the number of files in the package is >20k (dpkg -L heroku | wc -l says 20938). I don't think there are many packages with this many files (on my system linux-headers has 17k, atom 9k, adwaita-icon-theme-full 5k, evince-common 3k).

Looking at the files, I find 4k typescript files, 0.5k readmes/licenses, travis configs, bundled and source files of node modules, etc. I do think many of those are not actually required.

So my request is: can the number of files please be reduced? By removing unnecessary files, by using system packages for node modules (but I guess that's a lot of work), or combine all the files in a single Javascript file. The last should be relatively easy, I suppose.

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

1 participant