#17127: Better format for %timeit
-------------------------------+--------------------------
       Reporter:  jmantysalo   |        Owner:
           Type:  enhancement  |       Status:  needs_info
       Priority:  minor        |    Milestone:  sage-6.8
      Component:  interfaces   |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+--------------------------

Comment (by kcrisman):

 I see what you mean now.  I wasn't thinking about the IPython notebook,
 just IPython proper.

 And now I see also that https://github.com/sagemath/sagenb/issues/316 is
 (partly) about this (see also #15418).  I was mistaken that this uses
 IPython.  In
 https://github.com/sagemath/sagenb/blob/master/sagenb/notebook/worksheet.py
 we have
 {{{
         if C.time() and not C.introspect():
             input += '; print "CPU time: %.2f s,  Wall time: %.2f
 s"%(cputime(__SAGE_t__), walltime(__SAGE_w__))\n'
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17127#comment:9>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to