Using psyco acceleration

John Dong jdong at ubuntu.com
Sun Mar 5 23:35:09 GMT 2006


efficient or inefficient, it's still a good start as I see no performance
loss (but a decent performance gain) from using it in background mode. It'd
be better, yes, if we can do some more precise profiling on it.

On 3/5/06, Ivan Krstic <krstic at fas.harvard.edu> 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.
>
> --
> Ivan Krstic <krstic at fas.harvard.edu> | GPG: 0x147C722D
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20060305/ba9e26b9/attachment.htm 


More information about the bazaar mailing list