speedier cgi and perf monitoring

Josiah Carlson jcarlson at uci.edu
Mon Oct 25 20:33:01 CEST 2004

> good suggestion but not the help I was looking for.  What I was 
> observing is that the profiling tool measures CPU time not clock time. 
> No surprises after all that is what the documentation says.  The 
> performance problems I'm experiencing require observing clock time (I 
> believe).  So far, I haven't figured out how to specify clock time for 
> the profiling tools.  any suggestions?

Don't use profiling tools.  Do manual profiling via time.time() calls 
(which provides wall-clock time). Start coarse, and narrow down your
search each iteration.

 - Josiah

More information about the Python-list mailing list