Bob Miller wrote: [Fri Dec 05 2003, 01:46:10PM EST] > Second, is there anything wrong with Python as an implementation > language? If you think Python is too slow, think again. On nearly > every portage operation I do, the CPU is mostly idle -- it's the disk > that's thrashing (according to gkrellm). The key to improving > portage's performance is to get it to open fewer files.
Sort of. It's true that there's a lot that could be done to improve portage performance without changing languages. Nonetheless, even the smallest test shows that python has a poor startup time. $ time python -c 'print "hi"' user 0m0.023s sys 0m0.004s $ time perl -e 'print "hi\n"' user 0m0.003s sys 0m0.003s -- Aron Griffis Gentoo Linux Developer (alpha / ia64 / ruby / vim) Key fingerprint = E3B6 8734 C2D6 B5E5 AE76 FB3A 26B1 C5E3 2010 4EB0
pgp00000.pgp
Description: PGP signature
