python-list  

Re: log and figure out what bits are slow and optimize them.

Mark Lawrence
Fri, 10 Feb 2012 06:32:14 -0800

Please don't top post.

On 10/02/2012 12:59, Saju M wrote:
Yes i saw profile module,
I think, i have to do function call via
cProfile.run('foo()')
I know, we can debug this way.
But, I need a fixed logging system and want to use it in production.
       I think, we can't permanently include profile's debugging code in
source code,
      will cause any performance issue ??


How about http://docs.python.org/library/logging.html ?

--
Cheers.

Mark Lawrence.

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