[Pythonmac-SIG] What slows down python? (OS X python question)

Steven D. Majewski sdm7g@Virginia.EDU
Thu, 11 Oct 2001 16:55:52 -0400 (EDT)


On Thu, 11 Oct 2001, Nathan Heagy wrote:

> I'm not sure, but it sure does take me a while to get python started:
> 
> % time python -c "pass"
> 0.350u 0.160s 0:01.89 26.9%     0+0k 69+2io 0pf+0w
> % uname

Same here: I haven't noticed that python is slow (haven't done any
benchmarks either!) running, but 2.2* definitely has a much slower
startup compared to either 2.0* or 2.1*. 

Size of the executables is significantly different: 

-rwxr-xr-x  1 root  wheel  1807160 Jul 20 17:53 /usr/local/bin/python2.1.x
-rwxr-xr-x  1 root  wheel  3363136 Oct  2 14:33 /usr/local/bin/python2.2.x


I don't know if that is enough in itself to explain the slow startup. 

Have other platforms had the same degree of bloat moving to 2.2 ? 
( If not, maybe we're doing something wrong in how it's linked. ) 


-- Steve Majewski