[pypy-issue] Issue #1871: 10x slower than CPython under coverage (pypy/pypy)

Alex Gaynor issues-reply at bitbucket.org
Mon Sep 22 23:19:59 CEST 2014


New issue 1871: 10x slower than CPython under coverage
https://bitbucket.org/pypy/pypy/issue/1871/10x-slower-than-cpython-under-coverage

Alex Gaynor:

To reproduce:

```
import coverage


def g():
    pass


def f():
    g()
    g()
    g()
    g()


def main():
    cov = coverage.coverage()
    cov.start()

    for i in xrange(1000000):
        f()

    cov.stop()

if __name__ == "__main__":
    main()
```




More information about the pypy-issue mailing list