[pypy-issue] Issue #1863: PyPy super slow running parameterized test suite (pypy/pypy)
issues-reply at bitbucket.org
Tue Sep 9 01:51:17 CEST 2014
New issue 1863: PyPy super slow running parameterized test suite
Filing this because Alex told me to!
I have the packaging library (https://github.com/pypa/packaging) and as part of that it generates a ton of tests using ``pytest.mark.parametrize``. In total there are a little over 25k tests that come from a total of 45 actual functions.
Running the tests under PyPy is massively slow. CPython runs the entire suite in 1-2 minutes while PyPy takes ~15 minutes (See: https://travis-ci.org/pypa/packaging/builds/34763838).
git clone https://github.com/pypa/packaging.git
tox -e py27 # Fast, ~30s on my machine
tox -e pypy # Slow, ~618s on my machine
I tried running a OSX nightly but I got an unrelated error even trying to run the binary.
More information about the pypy-issue