Add async profiling support for gevent
See original GitHub issueFirst of all, thanks a lot for this project, yappi is really the best Python profiler !
In my projects I use gevent extensively. I was full of hope when I found this blog article:
https://emptysqua.re/blog/greenletprofiler/
Someone made a greenlet profiler a few years ago on top of yappi…
But the project is Python 2, and it was coming with a modified, bundled version of yappi.
Now that yappi supports coroutines (with asyncio, unfortunately), could you please give me some guidance how to redo what was done with greenletprofiler ?
I would be happy to contribute to yappi with gevent support, but I need some help - my C++ skills are rusty and I don’t know the code.
I saw in this discussion https://github.com/sumerc/yappi/issues/21 that it was something you thought about once… But I am afraid set_ctx_backend()
was finally not implemented ?
Thanks a lot
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top GitHub Comments
Well, I think I have already things to do - I will try to adapt the test you have for asyncio to gevent when I get some time. Thanks for all this, already !
I made a little survey there is no Python 3 greenlet profiler. Not yet 😉
@ajdavis I also checked forks of your greenlet profiler, with no luck - it does not work (test do not pass), in fact some adaptations have been made but it misses your changes to yappi so it is not helpful.
I am going to try to answer @sumerc questions in the previous message as soon as possible.
Thanks a lot guys ! Have a nice week-end in those difficult times.