I am developing a Django application inside IntelliJ. Now, I would like to profile it. To see, if some code is run more than it should if some queries are slow,...
All I can find is:
I did install vmprof and I run it. But my problem is, that all code inside all libraries is showed,... I can't find my code inside.. is there a way to configure to show only my code?
I use from time to time the profiling feature from Django Debug Toolbar.
It's really easy to use and it provides many more optimization capabilities as showing your database queries, where you can find which ones are repeated and optimize them.
Link to the library https://django-debug-toolbar.readthedocs.io/en/latest/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.