Gentoo Archives: gentoo-performance

From: Dylan Carlson <absinthe@g.o>
To: gentoo-performance@l.g.o
Subject: Re: [gentoo-performance] Re: portage performance
Date: Mon, 14 Jun 2004 21:25:39
In Reply to: Re: [gentoo-performance] Re: portage performance by Sri Gupta
On Saturday 12 June 2004 4:19 pm, Sri Gupta wrote:
> Try using a JIT-style python compiler. > > #emerge psyco > #nano -w `which emerge` >
The first problem with this is that it's architecture-specific. (think in terms of Java Runtime Environments and this will make sense). You will notice that psyco is available only on x86. Also Psyco only looks for stuff it knows how to optimize, which are some selective operations. In theory someday it will optimize more, and be available on more architectures, but that doesn't really buy Gentoo much today... since it's totally locked in on x86. Psyco does improve speed somewhat, as it relates to Portage anyway, but nothing substantial. Psyco is noticeable in situations where there are a lot of complicated loops that cycle many times over at least a few minutes (when running in normal interpreted mode). The better improvements will come from optimizing the algorithms, not tweaking the runtime. Cheers, Dylan Carlson [absinthe@g.o] Public Key: -- gentoo-performance@g.o mailing list