Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpsspatial/8759b54810567b3c97d036362197745d to your computer and use it in GitHub Desktop.
Save dpsspatial/8759b54810567b3c97d036362197745d to your computer and use it in GitHub Desktop.
sort_qgis_plugin_loading_times
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