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