Created
June 7, 2014 17:30
-
-
Save greut/7a8da44f1e91d187fbdc to your computer and use it in GitHub Desktop.
profiling of `inveniomanage version` using pyinstrument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python -m pyinstrument bin/inveniomanage version | |
| 6.927 <module> inveniomanage:3 | |
| |- 6.122 load_entry_point pkg_resources.py:354 | |
| | `- 6.121 load_entry_point pkg_resources.py:2434 | |
| | `- 6.119 load pkg_resources.py:2152 | |
| | `- 6.048 <module> invenio/base/manage.py:20 | |
| | |- 5.862 create_app invenio/base/factory.py:154 | |
| | | |- 3.583 __init__ flask_registry/registries/appdiscovery.py:150 | |
| | | | `- 3.583 register flask_registry/registries/appdiscovery.py:155 | |
| | | | |- 0.931 setup_app invenio/ext/admin/__init__.py:86 | |
| | | | | `- 0.929 __init__ invenio/ext/admin/__init__.py:76 | |
| | | | | `- 0.929 __init__ flask_registry/registries/modulediscovery.py:245 | |
| | | | | `- 0.929 discover flask_registry/registries/modulediscovery.py:148 | |
| | | | | `- 0.929 _discover_module flask_registry/registries/modulediscovery.py:177 | |
| | | | | |- 0.731 import_string werkzeug/utils.py:383 | |
| | | | | | `- 0.202 __init__ werkzeug/utils.py:567 | |
| | | | | | `- 0.202 import_string werkzeug/utils.py:383 | |
| | | | | `- 0.181 _handle_importerror flask_registry/registries/modulediscovery.py:192 | |
| | | | | `- 0.181 find_modules werkzeug/utils.py:427 | |
| | | | | `- 0.181 iter_modules pkgutil.py:129 | |
| | | | | `- 0.181 iter_modules pkgutil.py:191 | |
| | | | | `- 0.085 isdir genericpath.py:38 | |
| | | | |- 0.927 setup_app invenio/ext/assets/__init__.py:87 | |
| | | | | `- 0.925 call subprocess.py:514 | |
| | | | | `- 0.905 wait subprocess.py:1371 | |
| | | | | `- 0.905 _eintr_retry_call subprocess.py:473 | |
| | | | |- 0.852 setup_app invenio/ext/restful/__init__.py:206 | |
| | | | | `- 0.852 __init__ flask_registry/registries/modulediscovery.py:245 | |
| | | | | `- 0.852 discover flask_registry/registries/modulediscovery.py:148 | |
| | | | | `- 0.852 _discover_module flask_registry/registries/modulediscovery.py:177 | |
| | | | | |- 0.649 import_string werkzeug/utils.py:383 | |
| | | | | | |- 0.217 __init__ werkzeug/utils.py:567 | |
| | | | | | | `- 0.217 import_string werkzeug/utils.py:383 | |
| | | | | | |- 0.104 <module> invenio/modules/deposit/restful.py:20 | |
| | | | | | | `- 0.089 <module> invenio/modules/deposit/models.py:22 | |
| | | | | | `- 0.083 <module> invenio/modules/documents/restful.py:20 | |
| | | | | | `- 0.077 <module> invenio/modules/documents/api.py:47 | |
| | | | | `- 0.197 _handle_importerror flask_registry/registries/modulediscovery.py:192 | |
| | | | | `- 0.197 find_modules werkzeug/utils.py:427 | |
| | | | | `- 0.197 iter_modules pkgutil.py:129 | |
| | | | | `- 0.197 iter_modules pkgutil.py:191 | |
| | | | | `- 0.089 isdir genericpath.py:38 | |
| | | | |- 0.665 import_string werkzeug/utils.py:383 | |
| | | | | |- 0.097 <module> invenio/ext/assets/__init__.py:19 | |
| | | | | |- 0.095 <module> invenio/ext/sslify/__init__.py:25 | |
| | | | | | `- 0.085 <module> invenio/ext/sslify/wrappers.py:43 | |
| | | | | | `- 0.081 <module> invenio/utils/url.py:23 | |
| | | | | |- 0.088 <module> invenio/ext/sqlalchemy/__init__.py:26 | |
| | | | | `- 0.084 <module> invenio/ext/email/__init__.py:23 | |
| | | | `- 0.118 setup_app invenio/ext/debug_toolbar/__init__.py:45 | |
| | | | `- 0.118 __init__ flask_debugtoolbar/__init__.py:45 | |
| | | | `- 0.118 init_app flask_debugtoolbar/__init__.py:61 | |
| | | | `- 0.113 load_panels flask_debugtoolbar/toolbar.py:47 | |
| | | | `- 0.113 _iter_panels flask_debugtoolbar/toolbar.py:53 | |
| | | | `- 0.113 _import_panel flask_debugtoolbar/toolbar.py:60 | |
| | | | `- 0.113 import_string werkzeug/utils.py:383 | |
| | | | `- 0.099 <module> flask_debugtoolbar/panels/sqlalchemy.py:1 | |
| | | | `- 0.071 load_module flask/exthook.py:55 | |
| | | | `- 0.071 <module> flask_sqlalchemy/__init__.py:10 | |
| | | |- 1.712 __init__ flask_registry/registries/appdiscovery.py:256 | |
| | | | `- 1.712 __init__ flask_registry/registries/modulediscovery.py:245 | |
| | | | `- 1.712 discover flask_registry/registries/modulediscovery.py:148 | |
| | | | `- 1.712 _discover_module flask_registry/registries/appdiscovery.py:263 | |
| | | | |- 1.562 import_string werkzeug/utils.py:383 | |
| | | | | |- 0.396 <module> invenio/modules/search/views/__init__.py:19 | |
| | | | | | `- 0.383 <module> invenio/modules/search/views/search.py:20 | |
| | | | | | |- 0.257 <module> invenio/modules/indexer/models.py:22 | |
| | | | | | | `- 0.226 __init__ flask_sqlalchemy/__init__.py:534 | |
| | | | | | | `- 0.226 __init__ sqlalchemy/ext/declarative/api.py:48 | |
| | | | | | | `- 0.226 _as_declarative sqlalchemy/ext/declarative/base.py:30 | |
| | | | | | | `- 0.130 map sqlalchemy/ext/declarative/base.py:370 | |
| | | | | | | `- 0.128 mapper sqlalchemy/orm/__init__.py:871 | |
| | | | | | | `- 0.127 __init__ sqlalchemy/orm/mapper.py:90 | |
| | | | | | `- 0.078 <module> invenio/modules/search/forms.py:20 | |
| | | | | | `- 0.072 <module> invenio/modules/knowledge/api.py:22 | |
| | | | | |- 0.133 <module> invenio/modules/groups/views.py:20 | |
| | | | | | `- 0.124 <module> invenio/modules/groups/forms.py:20 | |
| | | | | | `- 0.097 __init__ wtforms_alchemy/__init__.py:93 | |
| | | | | | `- 0.097 create_form wtforms_alchemy/generator.py:135 | |
| | | | | | `- 0.097 __get__ sqlalchemy/util/langhelpers.py:609 | |
| | | | | | `- 0.097 attrs sqlalchemy/orm/mapper.py:1541 | |
| | | | | | `- 0.097 configure_mappers sqlalchemy/orm/mapper.py:2112 | |
| | | | | | `- 0.094 _post_configure_properties sqlalchemy/orm/mapper.py:1260 | |
| | | | | | `- 0.077 init sqlalchemy/orm/interfaces.py:224 | |
| | | | | | `- 0.076 do_init sqlalchemy/orm/properties.py:1027 | |
| | | | | |- 0.124 <module> invenio/modules/accounts/views/__init__.py:20 | |
| | | | | | `- 0.116 <module> invenio/modules/accounts/views/accounts.py:20 | |
| | | | | | `- 0.079 <module> invenio/legacy/webuser.py:30 | |
| | | | | |- 0.120 __init__ werkzeug/utils.py:567 | |
| | | | | | `- 0.120 import_string werkzeug/utils.py:383 | |
| | | | | |- 0.118 <module> invenio/modules/comments/views.py:20 | |
| | | | | | `- 0.072 <module> invenio/modules/records/views.py:20 | |
| | | | | |- 0.101 <module> invenio/modules/documentation/views.py:20 | |
| | | | | | `- 0.089 <module> sphinx/websupport/__init__.py:10 | |
| | | | | | `- 0.074 <module> sphinx/application.py:12 | |
| | | | | |- 0.076 <module> invenio/modules/workflows/views/__init__.py:23 | |
| | | | | `- 0.072 <module> invenio/modules/oauth2server/views/__init__.py:20 | |
| | | | |- 0.080 wrapper_func flask/app.py:53 | |
| | | | | `- 0.080 register_blueprint flask/app.py:873 | |
| | | | | `- 0.080 register flask/blueprints.py:138 | |
| | | | | `- 0.069 <lambda> flask/blueprints.py:171 | |
| | | | | `- 0.069 add_url_rule flask/blueprints.py:62 | |
| | | | `- 0.069 _handle_importerror flask_registry/registries/modulediscovery.py:192 | |
| | | | `- 0.069 find_modules werkzeug/utils.py:427 | |
| | | | `- 0.069 iter_modules pkgutil.py:129 | |
| | | | `- 0.069 iter_modules pkgutil.py:191 | |
| | | `- 0.442 __init__ flask_registry/registries/appdiscovery.py:203 | |
| | | `- 0.442 discover flask_registry/registries/modulediscovery.py:148 | |
| | | `- 0.442 _discover_module flask_registry/registries/modulediscovery.py:177 | |
| | | |- 0.355 import_string werkzeug/utils.py:383 | |
| | | | `- 0.129 __init__ werkzeug/utils.py:567 | |
| | | | `- 0.129 import_string werkzeug/utils.py:383 | |
| | | `- 0.087 _handle_importerror flask_registry/registries/modulediscovery.py:192 | |
| | | `- 0.087 find_modules werkzeug/utils.py:427 | |
| | | `- 0.087 iter_modules pkgutil.py:129 | |
| | | `- 0.087 iter_modules pkgutil.py:191 | |
| | `- 0.112 <module> flask/__init__.py:11 | |
| `- 0.740 main invenio/base/manage.py:100 | |
| `- 0.681 register_manager invenio/ext/script/__init__.py:144 | |
| |- 0.600 <lambda> werkzeug/local.py:369 | |
| | `- 0.600 _get_current_object werkzeug/local.py:291 | |
| | `- 0.600 _lookup flask_registry/__init__.py:237 | |
| | `- 0.600 __init__ flask_registry/registries/modulediscovery.py:245 | |
| | `- 0.600 discover flask_registry/registries/modulediscovery.py:148 | |
| | `- 0.600 _discover_module flask_registry/registries/modulediscovery.py:177 | |
| | |- 0.443 import_string werkzeug/utils.py:383 | |
| | | `- 0.204 __init__ werkzeug/utils.py:567 | |
| | | `- 0.204 import_string werkzeug/utils.py:383 | |
| | `- 0.156 _handle_importerror flask_registry/registries/modulediscovery.py:192 | |
| | `- 0.156 find_modules werkzeug/utils.py:427 | |
| | `- 0.156 iter_modules pkgutil.py:129 | |
| | `- 0.156 iter_modules pkgutil.py:191 | |
| | `- 0.077 isdir genericpath.py:38 | |
| `- 0.071 import_string werkzeug/utils.py:383 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment