Closed sYnfo closed 6 years ago
I wonder if this is due to the system signals in pyinstrument 0.x... could you try again with pip install pyinstrument==2.0.0b1
?
That actually works, feel free to close I guess :)
Great. Thanks for getting back. The next version should be released in the next week or so!
Pyinstrument refactored to use a new profiling mode. Rather than using signals, pyintrument uses a new statistical profiler built on PyEval_SetProfile. This means no more main thread restriction, no more IO errors when using Pyinstrument, and no more 'setprofile' mode!
With python 3.6.3, redis 2.10.6 and the pyinstrument currently on pypi, I get a ConnectionError when connecting to redis while the profiler is running. Reproducer:
Traceback