This is just a stab in the dark (no, I don't know how to get more
detail from ktrace/kdump), but could some of the system .pyc files be
out of date wrt the .py files?

Also, what if you try it with a minimal $PATH?

Any DYLD_* environment variables set?

You can also try fs_usage to compare filesystem activity between
systems. I haven't had much luck with the options to limit fs_usage to
just one command - YMMV.

FWIW, I am not seeing the slowdown, but I don't have many extra
packages in /sw/lib/python2.5.

$ which python
/sw/bin/python

$ python -V
Python 2.5

### higher when it misses the disk cache, but still below 1 second:
$ time python -c "pass"

real    0m0.217s
user    0m0.036s
sys     0m0.077s

$ time /usr/bin/python -c "pass"

real    0m0.238s
user    0m0.045s
sys     0m0.074s

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.8
BuildVersion:   8L127

  Machine Name: PowerBook G4 15"
  Machine Model:        PowerBook5,4
  CPU Type:     PowerPC G4  (1.1)
  Number Of CPUs:       1
  CPU Speed:    1.5 GHz
  L2 Cache (per CPU):   512 KB
  Memory:       1.25 GB
  Bus Speed:    167 MHz

-- 
- Charles Lepple

-------------------------------------------------------------------------
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

Reply via email to