#11557: Machine-readable timeit() output
---------------------------+------------------------------------------------
   Reporter:  vbraun       |          Owner:  tbd         
       Type:  enhancement  |         Status:  new         
   Priority:  major        |      Milestone:  sage-4.7.2  
  Component:  performance  |       Keywords:              
Work_issues:               |       Upstream:  N/A         
   Reviewer:               |         Author:  Volker Braun
     Merged:               |   Dependencies:              
---------------------------+------------------------------------------------
 This patch implements an optional `seconds=True` keyword argument to
 return the number of seconds as a floating-point number instead of
 printing something on the screen:
 {{{
 sage: t = timeit("print 'Hi'", seconds=True)
 sage: t
 6.7710876464843747e-07
 }}}
 This makes it much easier to make plots for timing information.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11557>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to