Ned Batchelder
Ned Batchelder
I've written an issue on gevent to get some help: https://github.com/gevent/gevent/issues/1471
I don't see the same results you do. I had to add a line to your file: `from starlette.testclient import TestClient` Then: ``` % pytest bug1411.py ====================================================================== test session starts...
@RazerM Can you show me how you used this code? Where is `patch_billiard`? It it would help, we can make the config_file available.
Thanks. I see what you mean about the mocking, but i don't see a better way.
This is now released as part of [coverage 6.4.3](https://pypi.org/project/coverage/6.4.3).
Hmm, this is because of https://github.com/nedbat/coveragepy/commit/4b592fe30a7ebf871ba9a3d883ec955dae198c15#diff-68a483552b5cf650f43e371e28ef86ba13f3958e93bc1587c3cb7afad0397f24R517, which was done to get a slight performance improvement. I guess there isn't a way to keep it?
CPython has an open issue to set the flag when using bdb: https://github.com/python/cpython/issues/80675
This is about what I expected, since the dict lookup is only once per function call, and dict lookups are fast.
Can you say more about why you are concerned? Has something slowed down? What is it you would like me to do?
@cdce8p The most likely cause of a slowdown that large is using the Python tracer instead of the CTracer. Can you add `COVERAGE_DEBUG=sys` into the environment variables when you run...