what does virtualenv faster than venv mean? just when creation? or when running apps and scripts?

Viewed 519

virtualenv say's it's faster than venv in the link below.
https://virtualenv.pypa.io/en/latest/
And a lot of people say's the same.

What do they mean by faster?
Faster when creating the virtual environment
or
when running apps and scripts?

I'm new to python, from rails and ruby.
looking for python's virtual environment which fits for the new Django project.

1 Answers

The comment says venv is slower due to not having the app-data seed method. AFAICT, app-data is just a cache used for installing packages from local cache, and the other references I've found imply its primary benefit is in installing the bootstrap packages in the virtual environment (pip, setuptools, wheel) when it's created from the cache, rather than pulling them from PyPI.

In short, they're referring to a minor speed-up (larger if you have a slow network) in creating the virtual environment; there's nothing special about it in terms of run time performance for scripts running within the environment.

Related