Re: Extracting results from a large hotshot profile

2006-01-16 Thread Brian Cole
Tried replacing sys.getrecursionlimit() with 40,000. Choked with the same error, just took longer to get there. It looks like depth is not reset to zero after the yield: if (not i%yieldCount) and i: yield i, files, functions Should it be? On 1/16/06, Mike C. Fletcher <[EMAIL PROTECTED]> wro

Re: Extracting results from a large hotshot profile

2006-01-16 Thread Mike C. Fletcher
Brian Cole wrote: >Thanks for the tip. I got the following error message when trying to >run your profiler. > > ... > File "c:\Documents and Settings\coleb2\My > Documents\software\Python24\Lib\site >-packages\runsnakerun\hotshotreader.py", line 95, in loadHotshot >localDeltas[depth] = 0

Re: Extracting results from a large hotshot profile

2006-01-16 Thread Brian Cole
Thanks for the tip. I got the following error message when trying to run your profiler. Traceback (most recent call last): File "c:\Documents and Settings\coleb2\My Documents\software\Python24\lib\site -packages\wx-2.6-msw-ansi\wx\_core.py", line 13469, in lambda event: event.callable(*even

Re: Extracting results from a large hotshot profile

2006-01-16 Thread Mike C. Fletcher
Brian Cole wrote: ... >I did a hotshot profile. To make this profile took >about a day. However, I've been trying to extract results from the >profile for the past two days. It's eating up all the memory (2G >memory) on the machine and is slowing sucking up the swap space >(another 2G). > >I'm hes

Extracting results from a large hotshot profile

2006-01-16 Thread Brian Cole
I'm profiling some code that screens a large database. The algorithm efficiency is heavily variable, based upon the different records in the database. In order to get a sense of the best place to start optimizing the code I did a hotshot profile. To make this profile took about a day. However, I've