Pylons 0.9.7rc4 (via ab -n1001 -c4 http://127.0.0.1:5000/hello/index) Code: http://svn.repoze.org/whatsitdoing/pylons Installed via: "python setup.py develop" Python version: 2.5.2 (virtual env) Started via: bin/paster serve etc/development.ini repoze.profile version 0.7 (discard_first_request=true) Profile lines: 96 Config tweaks: only Routes middleware enabled in middleware.conf; debug = false, full_stack = false, static_files=false in development.ini Sun Feb 8 11:20:22 2009 wsgi.prof 256145 function calls in 0.811 CPU seconds Ordered by: internal time ncalls tottime percall cumtime percall filename:lineno(function) 1000 0.040 0.000 0.798 0.001 middleware.py:45(__call__) 1000 0.039 0.000 0.293 0.000 wsgiapp.py:173(setup_app_env) 4000 0.033 0.000 0.068 0.000 headerdict.py:65(__delitem__) 3000 0.031 0.000 0.061 0.000 route.py:441(match) 12000 0.031 0.000 0.040 0.000 headerdict.py:18(normalize) 14000 0.029 0.000 0.043 0.000 {hasattr} 1000 0.027 0.000 0.189 0.000 core.py:170(__call__) 4000 0.025 0.000 0.095 0.000 multidict.py:79(__setitem__) 1000 0.024 0.000 0.133 0.000 __init__.py:29(load_wsgi_environ) 1000 0.022 0.000 0.216 0.000 __init__.py:1413(__init__) 1000 0.021 0.000 0.088 0.000 mapper.py:256(_match) 2000 0.020 0.000 0.113 0.000 __init__.py:1672(_body__set) 8000 0.016 0.000 0.023 0.000 __init__.py:13(__getattr__) 1000 0.016 0.000 0.077 0.000 core.py:138(_dispatch_call) 5000 0.015 0.000 0.148 0.000 __init__.py:16(__setattr__) 15000 0.015 0.000 0.015 0.000 {getattr} 1000 0.015 0.000 0.025 0.000 wsgiwrappers.py:105(__init__) 7000 0.014 0.000 0.031 0.000 __init__.py:1638(_headers__get) 1000 0.014 0.000 0.054 0.000 __init__.py:1546(_charset__set) 1000 0.014 0.000 0.078 0.000 __init__.py:1588(_content_type__set) 2000 0.013 0.000 0.074 0.000 __init__.py:167(__set__) 1000 0.013 0.000 0.555 0.001 wsgiapp.py:86(__call__) 1000 0.012 0.000 0.014 0.000 inspect.py:672(getargs) 1000 0.012 0.000 0.012 0.000 __init__.py:1158(getEffectiveLevel) 2000 0.011 0.000 0.040 0.000 __init__.py:66(request_config) 1000 0.011 0.000 0.052 0.000 core.py:60(_inspect_call) 1000 0.010 0.000 0.810 0.001 profiler.py:132(run_app) 2000 0.010 0.000 0.014 0.000 __init__.py:512(__setattr__) 2000 0.010 0.000 0.090 0.000 __init__.py:213(__set__) 18000 0.010 0.000 0.010 0.000 {isinstance} 1000 0.009 0.000 0.017 0.000 headerdict.py:96(pop) 3000 0.009 0.000 0.009 0.000 {built-in method match} 1000 0.008 0.000 0.019 0.000 __init__.py:485(__init__) 1000 0.008 0.000 0.029 0.000 wsgiapp.py:231(resolve) 1000 0.008 0.000 0.208 0.000 wsgiapp.py:288(dispatch) 1000 0.007 0.000 0.012 0.000 headerdict.py:21(__getitem__) 1000 0.007 0.000 0.018 0.000 __init__.py:2125(__call__) 1000 0.007 0.000 0.012 0.000 core.py:121(_get_method_args) 2000 0.007 0.000 0.015 0.000 {method 'decode' of 'str' objects} 1000 0.007 0.000 0.019 0.000 UserDict.py:161(get) 6000 0.007 0.000 0.007 0.000 {range} 1000 0.007 0.000 0.025 0.000 inspect.py:730(getargspec) 18000 0.007 0.000 0.007 0.000 {method 'get' of 'dict' objects} 2000 0.007 0.000 0.007 0.000 __init__.py:411(_serialize_int) 4000 0.006 0.000 0.010 0.000 __init__.py:537(environ) 4000 0.006 0.000 0.006 0.000 {method 'extend' of 'list' objects} 1000 0.006 0.000 0.009 0.000 registry.py:177(_current_obj) 12000 0.005 0.000 0.005 0.000 {method 'lower' of 'str' objects} 1000 0.005 0.000 0.010 0.000 multidict.py:25(__init__) 1000 0.005 0.000 0.016 0.000 multidict.py:42(view_list) 1000 0.005 0.000 0.006 0.000 inspect.py:43(isclass) 1000 0.004 0.000 0.194 0.000 base.py:10(__call__) 3000 0.004 0.000 0.006 0.000 mapper.py:126(_envget) 2000 0.004 0.000 0.004 0.000 {_codecs.utf_8_decode} 1000 0.004 0.000 0.005 0.000 __init__.py:1490(_status__set) 1000 0.004 0.000 0.007 0.000 profiler.py:127(replace_start_response) 1000 0.004 0.000 0.006 0.000 multidict.py:198(update) 1000 0.004 0.000 0.006 0.000 translation.py:149(_get_translator) 1000 0.004 0.000 0.004 0.000 {built-in method groupdict} 2000 0.004 0.000 0.008 0.000 utf_8.py:15(decode) 1000 0.004 0.000 0.091 0.000 mapper.py:317(routematch) 12000 0.003 0.000 0.003 0.000 {method 'strip' of 'str' objects} 4000 0.003 0.000 0.003 0.000 __init__.py:544(_environ_getter) 9000 0.003 0.000 0.003 0.000 {len} 1000 0.003 0.000 0.003 0.000 wsgiapp.py:255(find_controller) 1000 0.002 0.000 0.003 0.000 core.py:55(_perform_call) 1000 0.002 0.000 0.002 0.000 {built-in method search} 1000 0.002 0.000 0.002 0.000 httpserver.py:152(wsgi_start_response) 1000 0.002 0.000 0.002 0.000 util.py:286(__init__) 1000 0.002 0.000 0.003 0.000 __init__.py:26(__delattr__) 1000 0.002 0.000 0.002 0.000 gettext.py:174(__init__) 1000 0.002 0.000 0.002 0.000 inspect.py:51(ismethod) 1000 0.002 0.000 0.002 0.000 __init__.py:1740(_app_iter__get) 1000 0.002 0.000 0.002 0.000 mapper.py:128(_envset) 1000 0.002 0.000 0.002 0.000 {method 'replace' of 'unicode' objects} 4000 0.002 0.000 0.002 0.000 {method 'append' of 'list' objects} 3000 0.002 0.000 0.002 0.000 {method 'items' of 'dict' objects} 1000 0.002 0.000 0.002 0.000 mapper.py:130(_envdel) 1000 0.002 0.000 0.002 0.000 inspect.py:167(iscode) 1000 0.001 0.000 0.002 0.000 inspect.py:126(isfunction) 1000 0.001 0.000 0.001 0.000 middleware.py:128(is_form_post) 1000 0.001 0.000 0.001 0.000 __init__.py:1654(_body__get) 2000 0.001 0.000 0.001 0.000 __init__.py:1515(_headerlist__get) 2000 0.001 0.000 0.001 0.000 {method 'keys' of 'dict' objects} 1000 0.001 0.000 0.001 0.000 {method 'startswith' of 'str' objects} 1000 0.001 0.000 0.001 0.000 {delattr} 2000 0.001 0.000 0.001 0.000 {method 'iteritems' of 'dict' objects} 1000 0.001 0.000 0.001 0.000 request.py:345(__init__) 1000 0.001 0.000 0.001 0.000 {method 'copy' of 'dict' objects} 1000 0.001 0.000 0.001 0.000 __init__.py:1484(_status__get) 1000 0.000 0.000 0.000 0.000 hello.py:5(index) 1000 0.000 0.000 0.000 0.000 {method 'pop' of 'dict' objects} 1000 0.000 0.000 0.000 0.000 {callable} 1000 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} 72 0.000 0.000 0.000 0.000 socket.py:238(__del__) 72 0.000 0.000 0.000 0.000 socket.py:229(close) 1 0.000 0.000 0.001 0.001 :1()