coverage + pypy3 + 2to3 is unacceptably slow

Issue #347 resolved
Buck Evan created an issue

On my machine, the below scenario runs in sixteen seconds without coverage. With coverage, it takes around ten minutes.

It's possible this is a pypy3 bug, but I really don't know.

Reproduction steps:

set -ex
rm -rf tmpvenv urwid

git clone git://

virtualenv tmpvenv --python $(which pypy3)
. tmpvenv/bin/activate
pip install coverage wheel

cd urwid
time python -m coverage run bdist_wheel

Comments (5)

  1. Ned Batchelder repo owner

    If this is explained by PyPy behavior, I'm inclined to close this ticket. I'd be glad to tweak the coverage code to run faster under PyPy, but I'll need recommendations from them.

  2. Log in to comment