Sebastien Maret wrote: > Kurt Schwehr <[EMAIL PROTECTED]> writes: > > >> I have two mac boxes... on my G5 machine, all pythons >> are slow to start: >> >> time python2.4 -c "pass" >> >> real 0m2.726s >> >> time /usr/bin/python -c "pass" >> >> real 0m2.909s >> user 0m0.023s >> sys 0m2.719s >> >> But on my G4 laptop I get a real time of 0.09-0.15s >> which is much more acceptable, but this is a slower >> machine. I've been looking at ktrace to see if I can >> figure out what is causing this. Can anyone give a >> recommendation on how to get a little more info out of >> the trace? I am guessing that it is some particular >> package causing a problem. >> > > I have the same problem on my G5. Python startup times can slow down > up to 15s on my machine. Only a reboot fixes the issue. The trace > looks the same: an awfull lot of time is spent in getdirentries(). > > Sébastien > >
No problems here (dual G5, 10.4.8). [mac28:~] jsw% time python2.5 -c "pass" 0.026u 0.148s 0:00.17 94.1% 0+0k 0+0io 0pf+0w [mac28:~] jsw% time python2.4 -c "pass" 0.028u 0.153s 0:00.18 94.4% 0+0k 0+6io 0pf+0w [mac28:~] jsw% time python2.3 -c "pass" 0.032u 0.173s 0:00.45 44.4% 0+0k 43+14io 0pf+0w [mac28:~] jsw% time /usr/bin/python -c "pass" 0.093u 0.183s 0:00.71 38.0% 0+0k 47+11io 0pf+0w -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED] 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel