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

general: try using HPI with astral-sh/uv #391

Closed
karlicoss opened this issue Sep 18, 2024 · 2 comments
Closed

general: try using HPI with astral-sh/uv #391

karlicoss opened this issue Sep 18, 2024 · 2 comments

Comments

@karlicoss
Copy link
Owner

Not sure how it works with editable setup etc, but at least for CI it might give a significant speedup and possibly replace the hacky --parallel module install
related: #306

@karlicoss
Copy link
Owner Author

karlicoss commented Sep 22, 2024

ok definitely worth it... not counting time to actually run tests (which is like 3-5 seconds)

tox -e tests-core --recreate 


without uv:
- first run (removed pip/tox cache) -- 21s
- second run (with all caches) -- 20s
- without --recretate -- 4.7s

with uv:
- first run (removed pip/tox/uv cache) -- 4.3s
- second run (with all caches) -- 2s
- without --recreate -- 1.8s

@karlicoss
Copy link
Owner Author

ok, really nice! typical times before were 3-4 minutes (although some runners, like 3.8 seem slower than other?), now it's like 1.5 minutes

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