On 30-Jun-09, at 10:58 , faicel wrote:

> I look for the command  allowing to have the time  of execution of a
> command in sage

sage: timeit?

...
Docstring:

         Time execution of a command or block of commands.  Displays the
         best WALL TIME for execution of the given code.  This is  
based on
         the Python timeit module, which avoids a number of common traps
         for measuring execution times.   It is also based on IPython's
         %timeout command.

         TYPICAL INPUT FORMAT:
             timeit(statement, preparse=None, number=0, repeat=3,  
precision=3)

         EXAMPLES:
             sage: timeit('2^10000')
             625 loops, best of 3: ... per loop

...


--
Kevin Horton
Ottawa, Canada




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

Reply via email to