How to Interpret Hotshot Stats

  • Thread starter =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
  • Start date
?

=?ISO-8859-1?Q?Gregory_Pi=F1ero?=

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Speed ain't bad 14

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top