Using psyco acceleration
Diwaker Gupta
diwaker.lists at gmail.com
Mon Mar 6 00:57:30 GMT 2006
The memory overhead of Psyco is something to bear in mind. This is
from the website:
"The memory overhead of Psyco is currently large. I has been reduced a
bit over time, but it is still an overhead. This overhead is
proportional to the amount of Python code that Psyco rewrites; thus if
your application has a few algorithmic "core" functions, these are the
ones you will want Psyco to accelerate --- not the whole program."
Diwaker
On 3/5/06, Martin Pool <mbp at sourcefrog.net> wrote:
>
> On 2006-03-06 Mon, at 10:32 AM, Ivan Krstic wrote:
>
> > John Dong wrote:
> >> Below is the quick patch I made; if psyco is installed, it'll use
> >> it in
> >> the unobtrusive background profiling mode.
> >
> > Using it in background profiling mode is rather inefficient, as psyco
> > has to learn what to pseudo-JIT on every bzr invocation. It would be
> > better to do some profiling and psyco a few specific code paths
> > that can
> > benefit from it, and where bzr spends a significant portion of its
> > running time.
> >
> > If Rob and Martin support adding some psyco directives to bzr, this
> > would be a neat and very quick little project for you to pick up.
>
> I have no objection.
>
> --
>
> Martin Pool
>
>
>
>
>
--
Web/Blog/Gallery: http://floatingsun.net/blog
More information about the bazaar
mailing list