Answer the question
In order to leave comments, you need to log in
How to profile asynchronous code?
There is an asynchronous python bot that always flies with any load, but after one of the latest updates and the addition of new functionality, when many people use this new functionality, the bot responds for 5-10 seconds, i.e. with a delay, optimizations did not help and only slightly reduced the response time. At the same time, nothing serious is being done in this new functionality. I decided to profile the code, but how to profile asynchronous code in python?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question