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

Certain package upgrade operation extremely slow #103

Open
Staudey opened this issue Nov 28, 2024 · 0 comments
Open

Certain package upgrade operation extremely slow #103

Staudey opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Staudey
Copy link
Member

Staudey commented Nov 28, 2024

After nodejs was made into a virtual package recently, it was noticed that the upgrade to the new package(s) takes an obscene amount of time (in some cases almost 10 minutes, even on an SSD). Similar things were observed after the llvm package restructuring.

Test case:

  1. Uninstall nodejs-20 and nodejs (if installed)
  2. sudo eopkg it https://packages.getsol.us/unstable/n/nodejs/nodejs-20.18.0-122-1-x86_64.eopkg
  3. sudo eopkg up

cProfile of the upgrade process sorted by tottime:
https://gist.githubusercontent.com/Staudey/a9c87cbcc6c068b1bc7a9e5ad1e1166a/raw/0f5ca104f28dbadf044aec21e5ba9b6f97292587/gistfile1.txt

cProfile of the upgrade process sorted by cumtime:
https://gist.githubusercontent.com/Staudey/4f6c4fb911b8e836635f61ba312f8954/raw/b9fca1f1be4ad036dcf2b5528286f30da0fc213d/gistfile1.txt

@TraceyC77 TraceyC77 added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants