Profiling the Python Interpreter

gb at cs.unc.edu gb at cs.unc.edu
Tue Oct 2 20:29:11 EDT 2001


I'm not asking about profiling Python programs here. I'm very
familiar with that.

I want to profile the python interpreter itself. My goal is to
discover where the time goes and in particular why the Cygwin version
runs about 30% slower than the native version on win2k.

I compiled the cygwin with -pg but the resulting gmon.out says that no
counts were accumulated. 

Any clues on how to get profiling to work will be appreciated.

gb



More information about the Python-list mailing list