-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Speedup testsuite - venv creation #4706
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
Conversation
Speedup virtualenv creation: create one (per session) relocatable virtual environment, and then just make a copy of the resulting tree when a new virtualenv is needed.
This is awesome! Thanks a lot for looking into this @benoit-pierre! I knew there was a lot of low hanging fruit here. ^.^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. :)
Linking to #4497. |
FTR; I don't think mixing #4663 is a good idea for review-bililty but I guess it's fine for once in a while. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Speedup virtualenv creation: create one (per session) relocatable virtual environment, and then just make a copy of the resulting tree when a new virtualenv is needed.
Running
tox -e py36 -- -m integration -n4
on my machine:master
Note: #4663 is included to avoid future conflicts.