Re: [Pyobjc-dev] Autopsy of a ktrace
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-20 06:42:53
|
On Sunday, Jan 19, 2003, at 23:20 Europe/Amsterdam, Jack Jansen wrote: > Replying to two messages at once: > > On zondag, jan 19, 2003, at 15:40 Europe/Amsterdam, Ronald Oussoren > wrote: >> Another obvious conclusing is that the startup of python itself is >> taking over half a second, which means we can never get as fast as >> Objective-C w.r.t. startup times (heck, a Objective-C version of >> addressbook.py runs in less time than Python takes to get to reading >> addressbook.py, I'll add the Objective-C version to the repository). > > Is this with a static Python or a framework python? I still haven't > gotten around at looking at prebinding, so I don't think any is done. > Also, it may be possible to prebind extension modules (haven't > checked) which may also make a difference. If this is all possible it > should be fairly simple: one prebinding magic incantation in the main > Python Makefile and explaining distutils how to prebind dynamic > modules for the Python that was used to run the distutils. Framework python 2.3, last CVS update was yesterday. > > And Bill wrote: >> I used Sampler to monitor file operations and it appears to be that >> +bundleForClass: calls stat() and access() for each class -- likely >> for each Bundle -- to find the bundle for the class. > > 1. What is Sampler? /Developer/Applications/Sampler.app > > 2. Could we globally override +bundleForClass: with a category or > somesuch and put a cache in there? Bill? > -- > - Jack Jansen <Jac...@or...> > http://www.cwi.nl/~jack - > - If I can't dance I don't want to be part of your revolution -- Emma > Goldman - > > |