measuring python code efficiency

n.a.s nn.roh1 at gmail.com
Sat Oct 23 19:20:23 CEST 2010


Thanks Felipe , sure i will search for that..

Bests,
n.a.s

On Sat, Oct 23, 2010 at 7:11 PM, Felipe Bastos Nunes <
felipe.bastosn at gmail.com> wrote:

> Theres the time module and the timeit() function to evaluate time to
> execute. For memory usage and cpu usage i can't remember exactly. I
> read the profile and cprofile documentation, and, in my opinion, help
> in somethings you wanna do.
>
> 2010/10/23, n.a.s <nn.roh1 at gmail.com>:
> > Hi all,
> > I use to program in many languages ,currently i 'm working in python ,i
> > wonder if their is any way-program to measure my code , for example
> memory
> > usage , cpu speed - because of the ability to write one program in many
> ways
> > , how i can evaluate my code?
> >
> > Many thanks,
> > n.a.s
> >
>
>
> --
> Felipe Bastos Nunes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101023/2b2cb9fc/attachment.html>


More information about the Python-list mailing list