Profiling information is generated using the standard Python profiler. To learn how to interpret the profiler statistics, see the Python profiler documentation.
Sort: Limit: Full Dirs: Mode:
Wed Apr 29 15:51:13 2009    osi.profile

         8038081 function calls (7571081 primitive calls) in 33.189 CPU seconds

   Ordered by: cumulative time
   List reduced from 284 to 100 due to restriction <100>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     1000    0.019    0.000   34.821    0.035 profiler.py:132(run_app)
     1000    0.089    0.000   34.798    0.035 router.py:76(__call__)
64000/2000    0.242    0.000   34.181    0.017 registry.py:215(queryMultiAdapter)
64000/2000    0.518    0.000   34.172    0.017 adapter.py:477(queryMultiAdapter)
     1000    0.156    0.000   34.075    0.034 communities.py:60(show_communities_view)
     1000    0.032    0.000   25.915    0.026 chameleon_zpt.py:67(render_template_to_response)
     1000    0.012    0.000   25.618    0.026 chameleon_zpt.py:28(__call__)
     1000    0.009    0.000   25.606    0.026 template.py:42(__call__)
     1000    0.015    0.000   25.597    0.026 template.py:263(render)
     1000    0.018    0.000   25.582    0.026 template.py:15(render)
     1000    0.014    0.000   25.493    0.025 template.py:121(render)
32000/1000    0.424    0.000   25.413    0.025 template.py:133(render_template)
31000/1000    0.181    0.000   24.939    0.025 template.py:307(render)
31000/1000    0.295    0.000   24.928    0.025 template.py:20(render_macro)
31000/1000    0.360    0.000   24.883    0.025 template.py:125(render_macro)
     1000    0.251    0.000   24.787    0.025 <string>:10(render)
     1000    1.553    0.002   18.062    0.018 <string>:20(_slotcontent)
   393000    1.205    0.000   15.013    0.000 codegen.py:25(lookup_attr)
815000/600000    1.633    0.000   14.137    0.000 {getattr}
    40000    0.397    0.000    6.146    0.000 url.py:11(model_url)
    62000    0.340    0.000    4.516    0.000 _api.py:107(queryMultiAdapter)
     1000    0.182    0.000    4.010    0.004 utils.py:94(get_catalog_batch)
     1000    0.154    0.000    3.733    0.004 api.py:203(intranets_info)
    40000    0.485    0.000    3.628    0.000 traversal.py:431(__call__)
    21000    0.127    0.000    3.555    0.000 adapters.py:211(url)
    95000    0.448    0.000    2.883    0.000 template.py:254(compiler)
    20000    0.101    0.000    2.725    0.000 adapters.py:60(resolver)
    22000    0.072    0.000    2.691    0.000 _api.py:101(getMultiAdapter)
    20000    0.302    0.000    2.500    0.000 traversal.py:56(find_model)
    47000    0.152    0.000    2.437    0.000 utils.py:29(find_site)
    95000    0.469    0.000    2.435    0.000 template.py:267(mtime)
    49000    0.690    0.000    2.366    0.000 traversal.py:119(find_interface)
    63000    0.236    0.000    2.260    0.000 template.py:98(macros)
    20000    0.098    0.000    1.965    0.000 adapters.py:217(number_of_members)
    32000    0.684    0.000    1.954    0.000 template.py:110(cook_check)
    20000    0.107    0.000    1.868    0.000 community.py:55(number_of_members)
   527000    1.064    0.000    1.850    0.000 {method 'providedBy' of '_interface_coptimizations.SpecificationBase' objects}
    41000    0.373    0.000    1.839    0.000 traversal.py:130(model_path)
    20000    0.187    0.000    1.738    0.000 community.py:59(member_names)
    95000    0.542    0.000    1.664    0.000 decorator.py:87(__get__)
    95000    0.365    0.000    1.607    0.000 posixpath.py:141(getmtime)
    21000    0.090    0.000    1.571    0.000 adapters.py:206(__init__)
    20000    0.144    0.000    1.550    0.000 community.py:69(_get_group_names)
    21000    0.615    0.000    1.534    0.000 traversal.py:372(__call__)
    21000    0.084    0.000    1.481    0.000 utils.py:42(find_tags)
   116000    0.630    0.000    1.478    0.000 {map}
    12000    0.062    0.000    1.423    0.000 content.py:47(get_content_type)
    42000    0.348    0.000    1.416    0.000 __init__.py:648(application_url)
    12000    0.663    0.000    1.325    0.000 content.py:23(get_content_types)
    41000    0.711    0.000    1.266    0.000 traversal.py:213(_model_path_list)
    95000    1.242    0.000    1.242    0.000 {posix.stat}
   414000    0.844    0.000    1.199    0.000 location.py:61(lineage)
    21000    0.093    0.000    0.930    0.000 utils.py:36(find_users)
   877000    0.914    0.000    0.914    0.000 {method 'append' of 'list' objects}
    95000    0.262    0.000    0.810    0.000 declarations.py:1179(ObjectSpecification)
    20000    0.147    0.000    0.808    0.000 adapters.py:223(last_activity_date)
    20000    0.662    0.000    0.662    0.000 {method 'strftime' of 'datetime.date' objects}
   106000    0.618    0.000    0.618    0.000 {method 'join' of 'str' objects}
    42000    0.427    0.000    0.589    0.000 __init__.py:620(host_url)
   111000    0.377    0.000    0.583    0.000 registry.py:106(getSiteManager)
     3000    0.015    0.000    0.571    0.000 api.py:315(home_url)
    95000    0.311    0.000    0.549    0.000 declarations.py:695(Provides)
    20000    0.477    0.000    0.526    0.000 users.py:107(users_in_group)
    49000    0.259    0.000    0.511    0.000 urllib.py:1174(quote)
    35000    0.154    0.000    0.495    0.000 utils.py:232(end)
     2000    0.007    0.000    0.486    0.000 generation.py:77(getvalue)
     1000    0.048    0.000    0.481    0.000 api.py:62(__init__)
     1000    0.181    0.000    0.448    0.000 adapters.py:318(get_info)
    21000    0.108    0.000    0.436    0.000 _api.py:186(adapter_hook)
     1000    0.012    0.000    0.405    0.000 utils.py:106(batchURL)
     1000    0.016    0.000    0.395    0.000 utils.py:244(get_user_home)
     3000    0.020    0.000    0.383    0.000 templating.py:7(renderer_from_cache)
    95000    0.236    0.000    0.359    0.000 template.py:187(_get_filename)
    31000    0.159    0.000    0.352    0.000 template.py:301(__getitem__)
    42000    0.261    0.000    0.350    0.000 __init__.py:82(__getitem__)
    35000    0.246    0.000    0.342    0.000 utils.py:214(index)
   169021    0.326    0.000    0.326    0.000 {method 'get' of 'dict' objects}
     3000    0.044    0.000    0.317    0.000 path.py:4(caller_path)
     2000    0.021    0.000    0.315    0.000 chameleon_zpt.py:50(get_template)
    20000    0.170    0.000    0.300    0.000 traversal.py:44(find_root)
   259000    0.299    0.000    0.299    0.000 {isinstance}
     7000    0.070    0.000    0.292    0.000 __init__.py:994(params)
     1000    0.016    0.000    0.266    0.000 adapters.py:56(__call__)
    16000    0.086    0.000    0.265    0.000 _api.py:208(queryUtility)
    92000    0.257    0.000    0.258    0.000 {method 'lookup' of '_zope_interface_coptimizations.LookupBase' objects}
    32000    0.090    0.000    0.245    0.000 filecache.py:26(get)
    95000    0.238    0.000    0.238    0.000 weakref.py:88(get)
14000/7000    0.086    0.000    0.234    0.000 UserDict.py:161(get)
     1000    0.024    0.000    0.232    0.000 catalog.py:47(search)
     1000    0.025    0.000    0.229    0.000 communities.py:106(get_my_communities)
     1000    0.015    0.000    0.228    0.000 finder.py:20(__call__)
    21000    0.066    0.000    0.224    0.000 registry.py:206(queryAdapter)
     3000    0.019    0.000    0.223    0.000 path.py:13(package_path)
    95000    0.213    0.000    0.213    0.000 {zope.interface._zope_interface_coptimizations.providedBy}
     7000    0.062    0.000    0.207    0.000 __init__.py:985(str_params)
   111000    0.206    0.000    0.206    0.000 registry.py:62(get)
     1000    0.031    0.000    0.201    0.000 url.py:101(urlencode)
     7000    0.038    0.000    0.194    0.000 multidict.py:313(__getitem__)
    31000    0.136    0.000    0.193    0.000 template.py:306(get_macro)
     1000    0.017    0.000    0.186    0.000 DB.py:570(open)