Edgewall Software

Ticket #7490: cProfile-stats.txt

File cProfile-stats.txt, 2.3 KB (added by lloyd@…, 3 years ago)

Profile of gateway.run(dispatch_request)

Line 
1Fri Jun 26 14:00:18 2009    /tmp/cprofile.909
2
3         390896 function calls (366729 primitive calls) in 22.228 CPU seconds
4
5   Ordered by: cumulative time
6   List reduced from 1754 to 30 due to restriction <30>
7
8   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
9        1    0.000    0.000   22.229   22.229 wsgi.py:85(run)
10        1    0.001    0.001   22.229   22.229 main.py:317(dispatch_request)
11        1    0.000    0.000   13.168   13.168 main.py:423(_dispatch_request)
12        1    0.003    0.003   13.164   13.164 main.py:139(dispatch)
13        1    0.001    0.001   12.129   12.129 chrome.py:693(render_template)
14      5/2    0.005    0.001   10.743    5.371 loader.py:134(load)
15      4/2    0.001    0.000   10.730    5.365 loader.py:242(_instantiate)
16      4/2    0.005    0.001   10.730    5.365 base.py:345(__init__)
17        1    0.000    0.000    8.869    8.869 chrome.py:676(load_template)
18      237    0.039    0.000    8.243    0.035 eval.py:63(__init__)
19  1141/93    0.061    0.000    8.163    0.088 base.py:412(_prepare)
20        1    7.181    7.181    7.181    7.181 {gc.collect}
21        4    0.201    0.050    6.934    1.733 markup.py:72(_parse)
22      237    0.072    0.000    6.184    0.026 eval.py:423(_compile)
23     1386    0.179    0.000    5.504    0.004 interpolation.py:39(interpolate)
242081/1065    0.042    0.000    3.889    0.004 core.py:264(_ensure)
25      118    0.008    0.000    3.667    0.031 directives.py:69(attach)
26      237    0.007    0.000    3.306    0.014 pycodegen.py:243(getCode)
27      237    0.033    0.000    3.299    0.014 pyassem.py:364(getCode)
28      3/1    0.001    0.000    3.188    3.188 core.py:152(render)
29      3/1    0.013    0.004    3.187    3.187 output.py:33(encode)
30  249/241    0.025    0.000    3.154    0.013 output.py:302(__call__)
31      244    0.006    0.000    3.121    0.013 output.py:751(__call__)
32  251/243    0.018    0.000    3.116    0.013 output.py:573(__call__)
33      251    0.028    0.000    3.097    0.012 output.py:686(__call__)
34  327/319    0.010    0.000    3.048    0.010 output.py:530(__call__)
35      339    0.011    0.000    3.026    0.009 chrome.py:806(_strip_accesskeys)
36      339    0.010    0.000    3.006    0.009 chrome.py:795(_generate)
37  432/339    0.012    0.000    2.996    0.009 base.py:563(_include)
38      122    0.007    0.000    2.603    0.021 directives.py:109(_parse_expr)