Op vrijdag 3 augustus 2012 07:42:10 UTC+2 schreef Nils Bruin het volgende:
>
> in which case one can avoid using the temporary file altogether by 
> doing 
>
> import cProfile,pstats 
> s=pstats.Stats(cProfile.Profile().run(cmd)) 
>
> It makes you wonder why cProfile.run has its current interface ... 
>

Hope you don't mind my asking this unrelated question, but since you are 
interested in profiling in the notebook, would you mind reviewing my patch 
implementing %prun in the notebook? The ticket is
http://trac.sagemath.org/5814
 

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to