Re: How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread Olivier Grisel
gene tani a écrit : > Shahriar Shamil Uulu wrote: >> Thank you, for your directions and advices. >> shahriar ... > > also look: > > http://spyced.blogspot.com/2005/09/how-well-do-you-know-python-part-9.html > > whihc mentions twisted.python.reflect.findInstances(sys.modules, str) > and objgrep,

Re: How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread gene tani
Shahriar Shamil Uulu wrote: > Thank you, for your directions and advices. > shahriar ... also look: http://spyced.blogspot.com/2005/09/how-well-do-you-know-python-part-9.html whihc mentions twisted.python.reflect.findInstances(sys.modules, str) and objgrep, which i didn't know about -- http:/

Re: How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread Shahriar Shamil Uulu
Thank you, for your directions and advices. shahriar ... gene tani wrote: > MrJean1 wrote: > > For CPU time usage, see the standard time module > > > > > > > > specifically the time.clock() function. For memory usage see > > > >

Re: How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread gene tani
MrJean1 wrote: > For CPU time usage, see the standard time module > > > > specifically the time.clock() function. For memory usage see > > > > > /Jean Brouwers there was a good long

Re: How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread MrJean1
For CPU time usage, see the standard time module specifically the time.clock() function. For memory usage see /Jean Brouwers -- http://mail.python.org/mailman/listinfo/python-l

How to calculate the CPU time consumption and memory consuption of any python program in Linux

2005-12-24 Thread Shahriar Shamil Uulu
Hi All, i want to calculate the cpu time consumption and memory consuption of any program written in python during runtime on Linux Fedora Core - 2, P4, RAM-512 MB. Actually i have written one database program in two ways, 1) Inprocedural way 2) in object oriented way. Now i want to check how effi