You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like PEP 669 – Low Impact Monitoring for CPython (sys.monitoring) should be explored to see if it claws back lost performance or even results in performance gains. Though AFAIK it is not proven yet whether it will help.
Additional context
As I understand, this is already under development. But I wanted to open an issue anyway to track progress.
In #1665 (comment) (Oct 25, 2023) nedbat states:
I have started on code to use the new PEP 669 monitoring, but I haven't made much progress on it. I'd welcome help.
The text was updated successfully, but these errors were encountered:
sys.monitoring support is in coverage.py 7.4.0, though it only makes line coverage faster, not branch coverage. I'm still working on the support that will be faster for branch coverage.
Awesome, thanks! I'll test COVERAGE_CORE=sysmon on monday. I was completely oblivious to that. I hadn't read the changelog and it wasn't mentioned in any of the threads that came up from my Google search.
Is your feature request related to a problem? Please describe.
coveragepy adds significant overhead to test execution in CI.
And this got much worse with Python 3.12 due to CPython performance regression (#1665, python/cpython#107674, maybe will be fixed by python/cpython#107841)
Describe the solution you'd like
PEP 669 – Low Impact Monitoring for CPython (
sys.monitoring
) should be explored to see if it claws back lost performance or even results in performance gains. Though AFAIK it is not proven yet whether it will help.Additional context
As I understand, this is already under development. But I wanted to open an issue anyway to track progress.
In #1665 (comment) (Oct 25, 2023) nedbat states:
The text was updated successfully, but these errors were encountered: