How to Interpret Hotshot Stats



Would someone mind giving me a quick explanation on what this is
telling me? How much is 201 CPU seconds? Watching the clock the run
seems to take 7 seconds all the way from clicking on the batch file to
run my hotshot script. Does that mean most of that time was in
loading the interpreter?

Am I correct that there aren't any noticable bottlenecks here?

43 function calls in 201.725 CPU seconds

Ordered by: internal time, call count

ncalls tottime percall cumtime percall filename:lineno(function)
1 200.889 200.889 201.725 201.725 index.py:74(main)
1 0.187 0.187 0.430 0.430 content.py:458(handle_spage_browse
_customers)
1 0.120 0.120 0.247 0.247 cgi.py:417(__init__)
1 0.092 0.092 0.111 0.111 content.py:155(HTML_HEADER)
8 0.075 0.009 0.118 0.015 cgi.py:576(getfirst)
2 0.053 0.027 0.053 0.027 webutils.py:42(input_text)
8 0.043 0.005 0.043 0.005 cgi.py:615(__contains__)
2 0.042 0.021 0.042 0.021 webutils.py:28(input_form_header)
2 0.040 0.020 0.040 0.020 webutils.py:33(input_form_footer)
1 0.039 0.039 0.039 0.039 cgi.py:732(skip_lines)
5 0.031 0.006 0.031 0.006 webutils.py:39(input_hidden)
1 0.026 0.026 0.094 0.094 cgi.py:627(read_urlencoded)
1 0.020 0.020 0.020 0.020 content.py:210(HTML_SIDEBAR)
1 0.015 0.015 0.020 0.020 stringio.py:120(read)
1 0.013 0.013 0.014 0.014 cgi.py:325(parse_header)
1 0.011 0.011 0.011 0.011 stringio.py:54(__init__)
1 0.009 0.009 0.009 0.009 cgi.py:190(parse_qsl)
2 0.008 0.004 0.008 0.004 os.py:434(__contains__)
1 0.007 0.007 0.007 0.007 content.py:245(HTML_FOOTER)
1 0.005 0.005 0.005 0.005 stringio.py:38(_complain_ifclosed)

1 0.002 0.002 0.002 0.002 cgi.py:331(<lambda>)
0 0.000 0.000 profile:0(profiler)

Thanks,

Greg
.



Relevant Pages

  • Re: Mixed clocked/combinatorial coding styles (another thread)
    ... I don't consider my SPI code as finished but I've seen what ... of the SPI clock at the master where it *should* be for a normal SPI system. ... But does this choice force me to, for example, clock the CPU ... If that's not your case, then you've got a wimpy CPU, but in that situation you wouldn't have a clock divider, and the data handling would be done differently. ...
    (comp.lang.vhdl)
  • Re: Stolen and degraded time and schedulers
    ... If you want accurate time accounting, don't use the TSC. ... The adjustments that I spoke of above are working regardless of ntp .. ... as does interrupt latency since the clock is essentially ... CPU does work as a timebase, then using the same warping mechanism would ...
    (Linux-Kernel)
  • Re: IIGS Acceleration Idea
    ... from the ram refresh to the slot timing to the mainboard and slot RAM addressing. ... To speed up the IIgs you'd have to implement a new CYA chip to produce all the timing and address signals for the main board plus the faster clock for the IIgs. ... Replace the CPU with a high speed CPU and simple 20x clock circuit. ... you will have to redesign Apple //e or Apple IIgs motherboard. ...
    (comp.sys.apple2)
  • [PATCH] perf_counter: Prevent oopses from per-cpu software counters
    ... context switches or cpu migrations only makes ... This fixes the problem by disallowing the use of the task clock, ... The only software counter that can be used as a per-cpu counter ...
    (Linux-Kernel)
  • Re: IIGS Acceleration Idea
    ... > and slot RAM addressing. ... > board plus the faster clock for the IIgs. ... Replace the CPU with a high speed CPU and simple 20x clock ...
    (comp.sys.apple2)