[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-16 Thread Robert Bradshaw
If you want to time running something just once, see cputime() and walltime(). - Robert On Jul 15, 2009, at 12:12 PM, Gustavo Rama wrote: Thanks, I'll try it. Cheers Gustavo On Jul 14, 10:42 pm, Simon King simon.k...@uni-jena.de wrote: Hi Gustavo! On 15 Jul., 03:17, Gustavo Rama

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-15 Thread Gustavo Rama
Thanks, I'll try it. Cheers Gustavo On Jul 14, 10:42 pm, Simon King simon.k...@uni-jena.de wrote: Hi Gustavo! On 15 Jul., 03:17, Gustavo Rama gdr...@gmail.com wrote: But how con you get the time of execution in a variable? Using cputime or walltime: No problem, since they return a

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-15 Thread Gustavo Rama
The third entry gives the precicion. On Jul 15, 4:12 pm, Gustavo Rama gdr...@gmail.com wrote: Thanks, I'll try it. Cheers Gustavo On Jul 14, 10:42 pm, Simon King simon.k...@uni-jena.de wrote: Hi Gustavo! On 15 Jul., 03:17, Gustavo Rama gdr...@gmail.com wrote: But how con you get

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-14 Thread Gustavo Rama
But how con you get the time of execution in a variable? On Jul 2, 10:33 am, William Stein wst...@gmail.com wrote: On Thu, Jul 2, 2009 at 1:31 PM, pangpablo.ang...@uam.es wrote: Watch also for cputime  and  walltime, which are very general and easy to use. Sometimes time and timeit are not

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-02 Thread pang
Watch also for cputime and walltime, which are very general and easy to use. Sometimes time and timeit are not convenient to use if you have more than one statement. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-06-30 Thread Kevin Horton
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