Python import profiling with tuna (opens in new tab)
Inspired by the latest release notes on one of the group's other projects, I spent a moment looking at the load times of Yirgacheffe, my Python geospatial library. I'd started to notice that compared to many other Python packages I use Yirgacheffe was relatively slow to import. Just a few seconds, which isn't much in the context of a geospatial pipeline, but I feel creates a poor impression when you're manually loading it in an interactive session. It felt particularly vexing when in my mind ...
Read the original article