Hi siham,

On Wed, Jul 6, 2011 at 9:28 PM, siham ezzouak <[email protected]> wrote:
> Hi;
> I want to compare execution time for two programs in sage I see that we can
> use function time but this one return many things I want just time
> processors.
> do you know function that allow us  to do this?
> thanks you in advance

Pick one that you want from below:

sage: time 2**128
340282366920938463463374607431768211456
Time: CPU 0.00 s, Wall: 0.00 s
sage: %time 2**128
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
340282366920938463463374607431768211456
sage: %timeit 2**128
625 loops, best of 3: 539 ns per loop


> --
> Siham Ezzouak
> Doctorante à la faculté des science
>  Oujda

-- 
Regards
Minh Van Nguyen

-- 
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-support
URL: http://www.sagemath.org

Reply via email to