#5814: %prun doesn't work in the notebook
-------------------------------+--------------------------------------------
Reporter: rlm | Owner: tkluck
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-feature
Component: notebook | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Timo Kluck | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by nbruin):
It's probably outside the scope of this ticket, but the ''really'' useful
thing would be it `%prun ...` in the notebook would return an interactive
browser for the `Stat` object that is returned by
`cProfile().runctx(...)`. While a basic printout of profiling data gives
some indication, one usually needs to dig around a little in the data to
find what the real source of the bottleneck is (see where most calls come
from, switch between cumulative and proper time, etc.)
Writing such a browser might be a nice exercise for a student who is
interested in interface programming. I bet there are good profiler
browsers around to get inspiration from.
The thing that always seems attractive but has never given me any insight
is plotting the callgraph.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5814#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.