[PyKDE] python profiler with pyqt

Richie Hindle richie at entrian.com
Fri Nov 19 21:38:14 GMT 2004


[Solly]
> "All time spent in C code (including built-in functions) will be charged 
> to the Python function that invoked the C code."

That's exactly right.  PyQt functions are written in C, so the time
spent in them is charged to the Python function that called them, which
is your function.  Hence as you said, it "only profiles methods which I
have defined myself".

> eagerly awaiting the final release of python 2.4.

Me too - profiling of C functions is something I've been wanting for
ages.

-- 
Richie Hindle
richie at entrian.com




More information about the PyQt mailing list