Profiling Python

Dieter Maurer dieter at handshake.de
Sat Dec 6 14:35:19 EST 2008


esgameserver at gmail.com writes on Wed, 3 Dec 2008 07:13:14 -0800 (PST):
> To clarify again,
> Is there some function like profile.PrintStats() which dynamically
> shows the stats before stopping the Profiler?

Try to (deep) copy the profiler instance and than call "PrintStats()"
on the copy.

Of course, you will then profile also the "PrintStats" in the running
profiler.


Dieter




More information about the Python-list mailing list