Last active
August 29, 2015 14:27
-
-
Save MarkusH/0c5d30449cdf7f1961f6 to your computer and use it in GitHub Desktop.
Django issue 24743
This file contains 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 pstats /tmp/stats-1.8.4.pstats | |
Welcome to the profile statistics browser. | |
/tmp/stats-1.8.4.pstats% sort cumtime | |
/tmp/stats-1.8.4.pstats% stats | |
Sat Aug 22 19:16:25 2015 /tmp/stats-1.8.4.pstats | |
176323684 function calls (172452682 primitive calls) in 314.468 seconds | |
Ordered by: cumulative time | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 314.468 314.468 {built-in method exec} | |
1 0.830 0.830 314.468 314.468 <string>:1(<module>) | |
1 0.549 0.549 313.637 313.637 /home/markus/Coding/django/django/db/migrations/executor.py:65(migrate) | |
755 0.017 0.000 261.148 0.346 /home/markus/Coding/django/django/db/migrations/migration.py:72(mutate_state) | |
1782 0.104 0.000 208.963 0.117 /home/markus/Coding/django/django/db/migrations/state.py:91(reload_model) | |
3293 0.077 0.000 174.631 0.053 /home/markus/Coding/django/django/db/migrations/state.py:252(render_multiple) | |
15847 1.259 0.000 174.552 0.011 /home/markus/Coding/django/django/db/migrations/state.py:520(render) | |
15847 1.192 0.000 131.396 0.008 /home/markus/Coding/django/django/db/models/base.py:72(__new__) | |
19305 6.765 0.000 122.022 0.006 /home/markus/Coding/django/django/apps/registry.py:334(clear_cache) | |
15847 0.198 0.000 109.495 0.007 /home/markus/Coding/django/django/db/migrations/state.py:285(register_model) | |
744 0.013 0.000 102.884 0.138 /home/markus/Coding/django/django/db/migrations/operations/fields.py:43(state_forwards) | |
1510 0.025 0.000 102.389 0.068 /home/markus/Coding/django/django/db/migrations/state.py:154(clone) | |
588 0.012 0.000 86.037 0.146 /home/markus/Coding/django/django/db/migrations/operations/fields.py:110(state_forwards) | |
4121980/926864 15.413 0.000 83.004 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:137(deepcopy) | |
4848554 54.571 0.000 82.234 0.000 /home/markus/Coding/django/django/db/models/options.py:711(_expire_cache) | |
33242 0.312 0.000 58.939 0.002 /home/markus/.venvs/django-dev-py3/lib/python3.4/functools.py:440(wrapper) | |
30927 7.833 0.000 57.954 0.002 /home/markus/Coding/django/django/apps/registry.py:153(get_models) | |
1510 0.817 0.001 57.451 0.038 /home/markus/Coding/django/django/db/migrations/state.py:157(<dictcomp>) | |
418838 4.986 0.000 56.634 0.000 /home/markus/Coding/django/django/db/migrations/state.py:509(clone) | |
435992/219530 8.371 0.000 49.079 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:272(_reconstruct) | |
10049479 22.296 0.000 46.485 0.000 /home/markus/Coding/django/django/apps/config.py:164(get_models) | |
1510 0.061 0.000 44.910 0.030 /home/markus/Coding/django/django/db/migrations/state.py:274(clone) | |
52852 0.514 0.000 41.573 0.001 /home/markus/Coding/django/django/db/migrations/state.py:488(construct_fields) | |
418838 2.216 0.000 40.726 0.000 /home/markus/Coding/django/django/db/migrations/state.py:514(<listcomp>) | |
13808 0.147 0.000 33.660 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:1878(deconstruct) | |
13808 0.249 0.000 33.460 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:1562(deconstruct) | |
13808 7.460 0.001 31.976 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:317(swappable_setting) | |
38718841 25.540 0.000 25.540 0.000 {built-in method delattr} | |
50883/ 37139 0.177 0.000 22.648 0.001 /home/markus/Coding/django/django/utils/functional.py:57(__get__) | |
479603/ 37988 8.249 0.000 22.615 0.001 /home/markus/Coding/django/django/db/models/options.py:742(_get_fields) | |
2141 0.102 0.000 22.276 0.010 /home/markus/Coding/django/django/db/migrations/state.py:34(get_related_models_recursive) | |
72154 0.943 0.000 22.199 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:242(_deepcopy_dict) | |
22141 0.124 0.000 22.156 0.001 /home/markus/Coding/django/django/db/migrations/state.py:45(_related_models) | |
22141 0.036 0.000 21.837 0.001 /home/markus/Coding/django/django/db/models/options.py:728(get_fields) | |
12415310 13.820 0.000 21.026 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/_collections_abc.py:511(__iter__) | |
1640 0.022 0.000 20.438 0.012 /home/markus/Coding/django/django/db/models/options.py:707(_relation_tree) | |
1640 5.191 0.003 20.416 0.012 /home/markus/Coding/django/django/db/models/options.py:672(_populate_directed_relation_graph) | |
450 0.007 0.000 20.106 0.045 /home/markus/Coding/django/django/db/migrations/operations/models.py:46(state_forwards) | |
450 0.005 0.000 20.089 0.045 /home/markus/Coding/django/django/db/migrations/state.py:77(add_model) | |
923844 2.546 0.000 19.877 0.000 /home/markus/Coding/django/django/db/models/fields/__init__.py:470(__deepcopy__) | |
1140354 3.718 0.000 17.030 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:67(copy) | |
6439 0.031 0.000 16.139 0.003 /home/markus/Coding/django/django/db/models/fields/related.py:2040(deconstruct) | |
1215480 11.089 0.000 11.586 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:256(_keep_alive) |
This file contains 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 pstats /tmp/stats-master.pstats | |
Welcome to the profile statistics browser. | |
/tmp/stats-master.pstats% sort cumtime | |
/tmp/stats-master.pstats% stats | |
Sat Aug 22 19:09:24 2015 /tmp/stats-master.pstats | |
90878023 function calls (87007021 primitive calls) in 169.034 seconds | |
Ordered by: cumulative time | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 169.034 169.034 {built-in method exec} | |
1 0.471 0.471 169.034 169.034 <string>:1(<module>) | |
1 0.262 0.262 168.563 168.563 /home/markus/Coding/django/django/db/migrations/executor.py:65(migrate) | |
755 0.015 0.000 142.086 0.188 /home/markus/Coding/django/django/db/migrations/migration.py:77(mutate_state) | |
1782 0.117 0.000 109.465 0.061 /home/markus/Coding/django/django/db/migrations/state.py:89(reload_model) | |
3293 0.085 0.000 76.998 0.023 /home/markus/Coding/django/django/db/migrations/state.py:251(render_multiple) | |
15847 1.011 0.000 63.596 0.004 /home/markus/Coding/django/django/db/migrations/state.py:528(render) | |
1510 0.023 0.000 57.054 0.038 /home/markus/Coding/django/django/db/migrations/state.py:150(clone) | |
744 0.013 0.000 53.841 0.072 /home/markus/Coding/django/django/db/migrations/operations/fields.py:43(state_forwards) | |
588 0.012 0.000 43.602 0.074 /home/markus/Coding/django/django/db/migrations/operations/fields.py:110(state_forwards) | |
1510 0.062 0.000 42.486 0.028 /home/markus/Coding/django/django/db/migrations/state.py:277(clone) | |
3198136/ 3020 9.989 0.000 42.080 0.014 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:137(deepcopy) | |
219482/ 3020 5.827 0.000 41.959 0.014 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:272(_reconstruct) | |
15847 0.157 0.000 38.568 0.002 /home/markus/Coding/django/django/db/migrations/state.py:543(<dictcomp>) | |
37005 0.335 0.000 38.410 0.001 /home/markus/Coding/django/django/db/models/fields/__init__.py:462(clone) | |
13808 0.141 0.000 32.649 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:1981(deconstruct) | |
13808 0.228 0.000 32.456 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:1667(deconstruct) | |
13808 7.297 0.001 31.046 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:306(swappable_setting) | |
21087 1.889 0.000 27.542 0.001 /home/markus/Coding/django/django/apps/registry.py:328(clear_cache) | |
5641150 13.196 0.000 27.230 0.000 /home/markus/Coding/django/django/apps/config.py:164(get_models) | |
3564 0.016 0.000 25.952 0.007 /usr/lib64/python3.4/contextlib.py:63(__exit__) | |
7128 0.011 0.000 25.946 0.004 {built-in method next} | |
7128 0.017 0.000 25.935 0.004 /home/markus/Coding/django/django/db/migrations/state.py:239(bulk_update) | |
15448 0.139 0.000 25.705 0.002 /home/markus/.venvs/django-dev-py3/lib/python3.4/functools.py:440(wrapper) | |
13501 3.580 0.000 25.256 0.002 /home/markus/Coding/django/django/apps/registry.py:158(get_models) | |
15847 1.144 0.000 23.697 0.001 /home/markus/Coding/django/django/db/models/base.py:71(__new__) | |
51425/37681 0.176 0.000 20.344 0.001 /home/markus/Coding/django/django/utils/functional.py:31(__get__) | |
72154 0.933 0.000 20.272 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/copy.py:242(_deepcopy_dict) | |
479603/37988 6.815 0.000 19.699 0.001 /home/markus/Coding/django/django/db/models/options.py:770(_get_fields) | |
2141 0.103 0.000 19.425 0.009 /home/markus/Coding/django/django/db/migrations/state.py:32(get_related_models_recursive) | |
22141 0.127 0.000 19.305 0.001 /home/markus/Coding/django/django/db/migrations/state.py:43(_related_models) | |
22141 0.035 0.000 18.975 0.001 /home/markus/Coding/django/django/db/models/options.py:756(get_fields) | |
1014841 12.161 0.000 18.707 0.000 /home/markus/Coding/django/django/db/models/options.py:739(_expire_cache) | |
1640 0.022 0.000 18.392 0.011 /home/markus/Coding/django/django/db/models/options.py:735(_relation_tree) | |
1640 3.181 0.002 18.370 0.011 /home/markus/Coding/django/django/db/models/options.py:700(_populate_directed_relation_graph) | |
6439 0.030 0.000 15.707 0.002 /home/markus/Coding/django/django/db/models/fields/related.py:2170(deconstruct) | |
1510 0.611 0.000 14.542 0.010 /home/markus/Coding/django/django/db/migrations/state.py:153(<dictcomp>) | |
418838 4.621 0.000 13.931 0.000 /home/markus/Coding/django/django/db/migrations/state.py:517(clone) | |
7313716 8.132 0.000 12.621 0.000 /home/markus/.venvs/django-dev-py3/lib/python3.4/_collections_abc.py:511(__iter__) | |
450 0.007 0.000 12.088 0.027 /home/markus/Coding/django/django/db/migrations/operations/models.py:46(state_forwards) | |
450 0.004 0.000 12.068 0.027 /home/markus/Coding/django/django/db/migrations/state.py:75(add_model) | |
419288 6.296 0.000 9.324 0.000 /home/markus/Coding/django/django/db/migrations/state.py:316(__init__) | |
100393 0.388 0.000 8.861 0.000 /home/markus/Coding/django/django/db/models/base.py:296(add_to_class) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment