#5814: %prun doesn't work in the notebook
-------------------------------+--------------------------------------------
Reporter: rlm | Owner: tkluck
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.9
Component: notebook | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Timo Kluck | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by tscrim):
In the notebook I get 3 function calls
{{{
3 function calls in 0.007 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.007 0.007 0.007 0.007 <string>:1(<module>)
1 0.000 0.000 0.000 0.000 {len}
1 0.000 0.000 0.000 0.000 {method 'disable' of
'_lsprof.Profiler' objects}
}}}
with the command line:
{{{
3 function calls in 0.000 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 <string>:1(<module>)
1 0.000 0.000 0.000 0.000 {len}
1 0.000 0.000 0.000 0.000 {method 'disable' of
'_lsprof.Profiler' objects}
}}}
So it's something specific to the doctesting framework that's not
reflected in sage while it's directly running (I've noticed this in a few
other places before too).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5814#comment:19>
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.