Django 1.02 (via ab -n1001 -c4 http://127.0.0.1:8000/hello) Code: http://svn.repoze.org/whatsitdoing/django Installed via: "python setup.py install" of Django Python version: 2.5.2 (virtual env) Started via: PYTHONPATH=. DJANGO_SETTINGS_MODULE=helloworld.settings bin/python helloworld/run.py repoze.profile version 0.7 (discard_first_request=true) Profile lines: 57 Config tweaks: using WSGIHandler (to get repoze.profile in the pipeline), commented out various things in settings.py and set MIDDLEWARE_CLASSES in settings.py to the empty tuple. Sun Feb 8 09:34:01 2009 wsgi.prof 103001 function calls in 0.384 CPU seconds Ordered by: internal time ncalls tottime percall cumtime percall filename:lineno(function) 1000 0.051 0.000 0.348 0.000 wsgi.py:219(__call__) 2000 0.033 0.000 0.069 0.000 base.py:177(get_script_name) 1000 0.029 0.000 0.156 0.000 base.py:60(get_response) 1000 0.027 0.000 0.036 0.000 __init__.py:271(__init__) 1000 0.022 0.000 0.059 0.000 urlresolvers.py:174(resolve) 1000 0.017 0.000 0.057 0.000 wsgi.py:76(__init__) 6000 0.015 0.000 0.019 0.000 __init__.py:26(__getattr__) 1000 0.012 0.000 0.016 0.000 urlresolvers.py:194(_get_urlconf_module) 2000 0.012 0.000 0.022 0.000 {method 'extend' of 'list' objects} 3000 0.011 0.000 0.034 0.000 encoding.py:37(force_unicode) 1000 0.010 0.000 0.383 0.000 profiler.py:132(run_app) 3000 0.009 0.000 0.020 0.000 {method 'decode' of 'str' objects} 1000 0.009 0.000 0.024 0.000 urlresolvers.py:141(__init__) 1000 0.007 0.000 0.014 0.000 urlresolvers.py:110(resolve) 1000 0.007 0.000 0.007 0.000 datastructures.py:188(__init__) 7000 0.006 0.000 0.006 0.000 {getattr} 1000 0.006 0.000 0.023 0.000 base.py:167(apply_response_fixes) 2000 0.006 0.000 0.007 0.000 __init__.py:371(next) 3000 0.006 0.000 0.011 0.000 utf_8.py:15(decode) 8000 0.005 0.000 0.005 0.000 {isinstance} 1000 0.005 0.000 0.011 0.000 urlresolvers.py:262(set_script_prefix) 3000 0.005 0.000 0.005 0.000 {_codecs.utf_8_decode} 2000 0.005 0.000 0.005 0.000 {built-in method search} 1000 0.005 0.000 0.006 0.000 re.py:227(_compile) 1000 0.004 0.000 0.004 0.000 {__import__} 10000 0.004 0.000 0.004 0.000 {method 'get' of 'dict' objects} 1000 0.004 0.000 0.007 0.000 profiler.py:127(replace_start_response) 1000 0.003 0.000 0.005 0.000 utils.py:35(fix_IE_for_attach) 1000 0.003 0.000 0.039 0.000 views.py:3(index) 1000 0.003 0.000 0.004 0.000 threading.py:733(currentThread) 1000 0.003 0.000 0.003 0.000 utils.py:23(conditional_content_removal) 2000 0.003 0.000 0.003 0.000 {built-in method groupdict} 1000 0.003 0.000 0.004 0.000 __init__.py:367(__iter__) 1000 0.003 0.000 0.004 0.000 __init__.py:326(has_header) 1000 0.003 0.000 0.003 0.000 utils.py:62(fix_IE_for_vary) 2000 0.002 0.000 0.002 0.000 dispatcher.py:127(send) 1000 0.002 0.000 0.006 0.000 utils.py:11(fix_location_header) 1000 0.002 0.000 0.002 0.000 httpserver.py:152(wsgi_start_response) 2000 0.002 0.000 0.002 0.000 {hasattr} 1000 0.002 0.000 0.002 0.000 {method 'endswith' of 'unicode' objects} 1000 0.002 0.000 0.008 0.000 re.py:186(compile) 3000 0.002 0.000 0.002 0.000 {method 'upper' of 'str' objects} 1000 0.002 0.000 0.002 0.000 __init__.py:332(items) 1000 0.002 0.000 0.003 0.000 __init__.py:377(close) 2000 0.002 0.000 0.002 0.000 {method 'update' of 'dict' objects} 1000 0.001 0.000 0.001 0.000 urlresolvers.py:126(_get_callback) 1000 0.001 0.000 0.001 0.000 {built-in method end} 2000 0.001 0.000 0.001 0.000 {method 'values' of 'dict' objects} 1000 0.001 0.000 0.001 0.000 Cookie.py:565(__init__) 1000 0.001 0.000 0.001 0.000 {iter} 1000 0.001 0.000 0.001 0.000 {method 'lower' of 'str' objects} 1000 0.001 0.000 0.001 0.000 {method 'has_key' of 'dict' objects} 1000 0.000 0.000 0.000 0.000 {thread.get_ident} 1000 0.000 0.000 0.000 0.000 {method 'iteritems' of 'dict' objects} 1000 0.000 0.000 0.000 0.000 {built-in method groups} 1000 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects} 1000 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} 1 0.000 0.000 0.000 0.000 :1()