Emerge is a very useful tool, but it's terrible slow. The psyco python module could improve performance about twice (on my system). The way to do is quite simple. All that would be done is: # emerge psyco and apply following patch on /usr/bin/emerge =================== CUT HERE =================== --- emerge.orig 2004-06-01 11:47:05.228736680 +0200 +++ emerge 2004-06-01 11:46:52.508670424 +0200 @@ -1,8 +1,11 @@ -#!/usr/bin/python -O +#!/usr/bin/python -OO # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-src/portage/bin/emerge,v 1.264 2004/02/08 # 21:24:15 nakano Exp $ +import psyco +psyco.full() import os,sys os.environ["PORTAGE_CALLER"]="emerge" sys.path = ["/usr/lib/portage/pym"]+sys.path =================== CUT HERE =================== Probably there's the way to improve emerge speed even more with psyco, but last days I have run out of time. This little patch with one additional dependence for portage package should be useful. krefik, crefff at tlen dot pl
Created attachment 32777 [details, diff] Emerge patch to use psyco
*** This bug has been marked as a duplicate of 45793 ***