[Pytest-commit] Issue #424: Running on multiple CPUs significantly slower (hpk42/pytest)

Trevor Bekolay issues-reply at bitbucket.org
Thu Jan 16 20:55:37 CET 2014


New issue 424: Running on multiple CPUs significantly slower
https://bitbucket.org/hpk42/pytest/issue/424/running-on-multiple-cpus-significantly

Trevor Bekolay:

Before today, with `pytest-xdist`, `py.test -n X` would result in significant speedups. Today, it's significantly slower.

```
$ py.test
================================== test session starts ===========================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
plugins: xdist
collected 81 items 
.................................................................................
=============================== 81 passed in 32.63 seconds =======================

$ py.test -n 2
================================== test session starts ============================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
plugins: xdist
gw0 [81] / gw1 [81]
scheduling tests via LoadScheduling
.................................................................................
============================== 81 passed in 252.04 seconds =======================
```

The only thing that's changed since yesterday is that I did an apt update that installed a new version of Python 2.7. I'm on Debian unstable (sid). All of the Python2.7 packages were updated from version 2.7.6-4 to 2.7.6-5. Is it possible that one of those updates broke thing? I recreated my virtualenvs, but I'm still experiencing slowdown.




More information about the pytest-commit mailing list