Show some real world Wheel stats #23

Open
ghickman opened this Issue Nov 17, 2013 · 1 comment

Projects

None yet

1 participant

@ghickman
Collaborator

Part of "Why Wheels?|" is the speed factor, we should show that.

I'm thinking something like:

  • Two requirements.txt, one with pure python packages, one with a mixture (I'm sure we can find one in an existing project).
  • Download sources & make wheels (pip install -r requirements.txt --download-cache=sources & pip wheel -r requirements.txt --wheel-dir=wheels)
  • Run an install with each one using time.
  • Put up a little table with instructions on how to recreate the test for readers.
@ghickman
Collaborator

Testing with a real project's requirements.txt

Setup:

mkdir wheel-test
pip install -r requirements.txt --download=sources
pip wheel -r requirements.txt --wheel-dir=wheels

Sources

mktmpenv
cd ~/Projects/wheel-test
time pip install -r requirements.txt --no-index --find-links=sources
[...]
real      0m59.484s
user      0m41.635s
sys       0m16.635s

Wheels

mktmpenv
cd ~/Projects/wheel-test
time pip install -r requirements.txt --no-index --find-links=wheels --use-wheel
[...]
real      0m6.572s
user      0m3.714s
sys       0m2.331s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment