Benchmarking Python's subroutines/function

Daniele Varrazzo daniele.varrazzo at gmail.com
Tue Oct 3 11:01:54 EDT 2006


Wijaya Edward ha scritto:

> Hi,
>
> How does one benchmark
> multiple subroutines in Python?
> Is there a built-in library for that?

the timeit module, and the Python profile for a deeper insight. See
"The Python Profiler" in the Python Library Reference.

>
> --
> Regards,
> Edward WIJAYA
> SINGAPORE
>
> ------------ Institute For Infocomm Research - Disclaimer -------------
> This email is confidential and may be privileged.  If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.
> --------------------------------------------------------




More information about the Python-list mailing list