Profiling the Python Interpreter

gb at gb at
Wed Oct 3 02:29:11 CEST 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.


More information about the Python-list mailing list