Ask Your Question
1

Graphical Profiler

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

Ken D's avatar

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

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

https://www.youtube.com/watch?v=QSueV...

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

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

Comments

Any update on the "code coverage" support?

Joril's avatar Joril  ( 2022-04-12 09:01:30 -0500 )edit

We've not started on this yet. We're still working on Wing 8 but are starting to look at priorities for Wing 9.. This is on the list but no final decisions have been made yet about what is going into Wing 9, and in what order. Sorry... that's all we know so far. Note that of course there's nothing preventing use of coverage.py or similar along with Wing. There's just no integrated support yet.

Wingware Support's avatar Wingware Support  ( 2022-04-12 10:11:56 -0500 )edit
0

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

Alexander_Dragunkin's avatar

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

2 followers

Stats

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

Seen: 792 times

Last updated: Jul 28 '19