sajuptpm wrote: > Hi, > > 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 ??
*Any* instrumentation code is going to affect performance. It's a trade-off that you need to analyse and manage in the context of your application. -- http://mail.python.org/mailman/listinfo/python-list