Re: Read stats

2008-06-15 Thread Ville M. Vainio
On Fri, May 30, 2008 at 4:45 AM, Edward K. Ream [EMAIL PROTECTED] wrote: 58590.0840.0000.1650.000 leoAtFile.py: 1079(readEndNode) 430.5310.0126.5640.153 leoAtFile.py: 744(scanText4) Judging by the cumulative time taken by scanText4, it does seem

Re: Read stats

2008-05-30 Thread Edward K. Ream
On Fri, May 30, 2008 at 12:36 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 4:45 AM, Edward K. Ream [EMAIL PROTECTED] wrote: 58590.0840.0000.1650.000 leoAtFile.py: 1079(readEndNode) 430.5310.0126.5640.153 leoAtFile.py:

Re: Read stats

2008-05-30 Thread Edward K. Ream
The next step for me will be to benchmark how fast zodb pickles and unpickles. Actually, I am in the midst of a small detour. I am busy subclassing Python's bdb.Bdb debugger so that it keeps track of the tree of calls. This would be useful, say, if I decided to rewrite all of leoAtFile.py

Re: Read stats

2008-05-30 Thread Ville M. Vainio
On Fri, May 30, 2008 at 5:26 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Actually, I am in the midst of a small detour. I am busy subclassing Python's bdb.Bdb debugger so that it keeps track of the tree of calls. This would be useful, say, if I decided to rewrite all of leoAtFile.py using

Re: Read stats

2008-05-30 Thread Edward K. Ream
On May 30, 9:26 am, Edward K. Ream [EMAIL PROTECTED] wrote: It should be simple to do this. Indeed, I had better check to see whether it has already been done... Just found http://pycallgraph.slowchop.com/ at the cheese shop. This does more than I want :-) Edward

Re: Read stats

2008-05-30 Thread Ville M. Vainio
On Fri, May 30, 2008 at 5:46 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Additionally, I think the performance of pyrex would be worse than the mxtexttools approach. I find this statement hard to believe. How can mxTextTools do the code generation part? What do you mean by code

Re: Read stats

2008-05-30 Thread Edward K. Ream
On Fri, May 30, 2008 at 9:44 AM, Edward K. Ream [EMAIL PROTECTED] wrote: It should be simple to do this. Indeed, I had better check to see whether it has already been done... Just found http://pycallgraph.slowchop.com/ at the cheese shop. This does more than I want :-) I mined the

Re: Read stats

2008-05-30 Thread Edward K. Ream
On May 30, 12:32 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 10:27 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: What do you mean by code generation? I mean methods like at.findChild4 and createThinChild4. That is, everything that actually creates vnodes and

Read stats

2008-05-29 Thread Edward K. Ream
Rev 448 contains a few changes for gathering stats about Leo's read codes in leoAtFile.py, leoFileCommands.py, leoNodes.py and leoGlobals.py. runLeo.profile_leo contains the latest code. To gather these statistics, I did the following in a console window. Start python, then: import leo