Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Created June 23, 2014 08:23
Show Gist options
  • Save PirosB3/765e6d9a7d618f718ddd to your computer and use it in GitHub Desktop.
Save PirosB3/765e6d9a7d618f718ddd to your computer and use it in GitHub Desktop.
969 function calls (936 primitive calls) in 0.002 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
33/1 0.000 0.000 0.002 0.002 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/utils/lru_cache.py:94(wrapper)
1 0.000 0.000 0.002 0.002 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/options.py:149(get_new_fields)
78 0.000 0.000 0.001 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/fields/related.py:121(has_class_relation)
115 0.000 0.000 0.000 0.000 {isinstance}
33 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/utils/lru_cache.py:26(_make_key)
246 0.000 0.000 0.000 0.000 {hasattr}
1 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/options.py:131(get_non_swapped_models)
3 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/bin/../lib/python2.7/_abcoll.py:526(update)
1 0.000 0.000 0.000 0.000 {filter}
31 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/options.py:134(<lambda>)
44 0.000 0.000 0.000 0.000 /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py:54(__setitem__)
2 0.000 0.000 0.000 0.000 /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py:38(__init__)
33 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/utils/lru_cache.py:19(__init__)
33 0.000 0.000 0.000 0.000 {sorted}
33 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
31 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/options.py:382(_swapped)
17 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/tests/model_meta/test_refactored.py:487(_model)
27 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/fields/related.py:346(related_query_name)
36 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
38 0.000 0.000 0.000 0.000 /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py:73(__iter__)
3 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/bin/../lib/python2.7/abc.py:128(__instancecheck__)
3 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/bin/../lib/python2.7/abc.py:148(__subclasscheck__)
1 0.000 0.000 0.000 0.000 /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py:100(keys)
5/4 0.000 0.000 0.000 0.000 {getattr}
8 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/bin/../lib/python2.7/_weakrefset.py:68(__contains__)
34 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/utils/lru_cache.py:23(__hash__)
33 0.000 0.000 0.000 0.000 {hash}
1 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/db/models/options.py:658(get_parent_list)
1 0.000 0.000 0.000 0.000 /Users/danielpiros/.virtualenvs/djtrunk/django-trunk/django/conf/__init__.py:44(__getattr__)
41 0.000 0.000 0.000 0.000 {len}
1 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
1 0.000 0.000 0.000 0.000 {method 'lower' of 'unicode' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment