Ask Your Question

Graphical Profiler

asked 2018-08-29 12:56:00 -0500

Ken D gravatar image

updated 2019-03-13 10:28:22 -0500

Is integration with a profiler scheduled for a future release? Example

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-08-29 15:08:00 -0500

It's on our list of features we'ld like to add but I'm not yet sure when we'll get to it.  This and code coverage are fairly high on that list.

edit flag offensive delete link more

answered 2019-07-27 16:49:20 -0500

Alexander_Dragunkin gravatar image

updated 2019-07-28 09:33:07 -0500

A vital question and suddenly my experience will help. :)

Will be required:

  • Graphviz desirable (2.38)

  • gprof2dot If the question is what is it, then we take it here

I used to use two OS commands

  • gprof2dot -o s.res -f pstats <fulname>.prof
  • c:\Program Files (x86)\Graphviz2.38\bin\dot.exe -Tpng -Tps s.res -o CreateBasemain.png

Now use DebugProfileTools

from DebugProfileTools import (profile)


some code


@profile def Create(): .... the profiled function. This is usually main ....

Below are the profiling results of a module CreateBase.

Each subsequent call overwrites the previous not at coincidence of names, and creates the index file in parentheses.

*.prof file the result of the Profiler, cProfile *.res graph-reading assignment utility Graphviz prepared gprof2dot *.png graph-a picture of function calls *.txt report in text form

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-08-29 12:56:00 -0500

Seen: 463 times

Last updated: Jul 28 '19