"Phoe6" <[EMAIL PROTECTED]> wrote:

> How do I compare the performance of pyConfig.py vs pyConparse.py using
> timeit module?

$ python -m timeit -s "import pyConfig" "pyConfig.pyConfig()"
$ python -m timeit -s "import pyConparse" "pyConparse.pyConParse()"

note that timeit runs the benchmarked function multiple times, so you may want
to remove the print statements.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to