-
Notifications
You must be signed in to change notification settings - Fork 115
Does profiling work well with asyncio? #26
Comments
No, you shouldn't use Thanks to report. |
I'm working on this issue. Checkout https://github.com/sublee/profiling/tree/eventloop-aware and try like: $ profiling yourapp.py --eventloop-aware=asyncio I need to hear some feedback. |
Hi @sublee! Thanks for revisiting this issue. I won't be able to test this anytime soon, but I'll try to test it out at some point. |
@sublee awesome! Exactly what I was looking for. Seems to work! Thanks! As a tip for others. Syntax is: |
@sublee I can't clone your version of the code doing
|
@Alexis-benoist Your URL is not correct. Try to install with |
Any update on this? Could really use a profiling tool for asyncio. |
I've been using http://www.pyvmmonitor.com/ with pretty good success |
@thehesiod thanks for suggestion but I just tried it in my application and without any success. |
+1 for this. |
Brilliant! Note that I needed to comment out |
Hello, I ran into the same issue as above in Python 3.6. It would be nice to have this pulled into the code... Edit: I'm not sure if i should report this as another bug, but if you use uvloop with profiling, you run into this error:
|
@sublee |
@MJ111 No, the branch has not been merged into |
@sublee I think so. I thought it’s merged already because there’s ‘asyncio.py’ in ‘profiling/remote’ folder. I might be wrong. |
I noticed that the README mentions support for greenlets. How about Python 3.4+'s asyncio?
Should we just use
--timer=greenlet
for all the varieties of asynchronous programming that Python supports (greenlets, threading, multiprocessing, asyncio, etc.)?The text was updated successfully, but these errors were encountered: