New issue 1863: PyPy super slow running parameterized test suite
https://bitbucket.org/pypy/pypy/issue/1863/pypy-super-slow-running-parameterized-test

Donald Stufft:

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).

Reproduction:

```
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.


_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to