Last active
November 15, 2016 16:15
-
-
Save neogis-de/3dfa66180c3506cb0d87f40895ba36c0 to your computer and use it in GitHub Desktop.
sort_qgis_plugin_loading_times
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
import pprint | |
import operator | |
plugin_load_times= qgis.utils.plugin_times | |
sorted_load_times = sorted(plugin_load_times.items(), key=operator.itemgetter(1)) | |
pprint.pprint(sorted_load_times) | |
# in addition to: https://gis.stackexchange.com/questions/209129/how-to-tell-which-qgis-plugins-are-slow-to-load?stw=2 | |
# helpt to sort dictionary from: https://stackoverflow.com/questions/613183/sort-a-python-dictionary-by-value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works great! I will use this for more troubleshooting... Thanks!