[BangPypers] log and figure out what bits are slow and optimize them.

Saju M sajuptpm at gmail.com
Fri Feb 10 13:29:41 CET 2012


Hi,

I want to log time taken to complete database requests inside a
method/function using decorator .  is it possible ????
I think, i have to inject log code inside the method/fuctions or modify it.
I wrote a decorator to log taken by a method/function to complete it
execution and its working well.

My requirement : log everything and figure out what bits are slow and
optimize them.

What are your suggestions ??


More information about the BangPypers mailing list