performance measurement questions

Eric S. Johansson esj at harvee.org
Tue Jul 6 06:29:05 EDT 2004


I've been playing with the profiler and have been rather successful in 
making my code run faster.  So for my best success has been cutting a 
three second CPU time run down to about 0.45 seconds.

Unfortunately, the same application seems to take about 8 to 12 seconds 
real-time.  I know that some of that time is lost to file IO and 
external sub processes but I don't know how much.

Is there any way to change the profiler to measure elapsed time and not 
CPU time?





More information about the Python-list mailing list