On Tuesday 28 October 2003 2:44 pm, Andrew Gaffney wrote: > Is there a way to determine how long it takes 'emerge' to parse an ebuild > and figure out what packages it is dependent on according to USE flags? I > wrote a Perl program that does this and it takes 0.049 seconds to parse > '/usr/portagemedia-video/mplayer/mplayer-1.0_pre2.ebuild' and tell me what > the dependencies are with the current USE flags. I want to compare it to > how fast Portage does this on my particular setup to get an acurate > comparison.
How about 'time emerge -p <package>'? As an aside, the strace output of running an emerge or an ebuild makes interesting reading. Best regards, Stu -- Stuart Herbert [EMAIL PROTECTED] Gentoo Developer http://www.gentoo.org/ Beta packages for download http://dev.gentoo.org/~stuart/packages/ Come and meet me in March 2004 http://www.phparch.com/cruise/ GnuGP key id# F9AFC57C available from http://pgp.mit.edu Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C --
pgp00000.pgp
Description: signature
