Skip to Content
Menu
This question has been flagged
1 Reply
2375 Views

currently we try to profile code because of bad performance.


we tried following:

adding @profile('/temp/prof.profile') as decorator before a method

this only sends a graph for this special method.


--


with pyflame we do not get any output in test.flame:

pyflame --exclude-idle -s 3600 -r 0.2 -p <PID> -o test.flame


the odoo process can not be stopped and we need to kill the pyflame process to stop pyflame but then no output is in test.flame


--

what are the ways you profile full call-stack of odoo-tasks?


as dev tool we use pycharm with pydev remote debugging (for break-points/simple tracing). but now we would need full graphs to find out performance-problems of some tasks.


Avatar
Discard

Please use a meaningful title.