Digital Flapjack

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
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help