56 days ago · Tech · hide · Fediverse post

I’m running a workshop in Lisbon next month, and you’re invited! It’s a small, in-person, hands-on session on optimizing Python code, with a Django flavour. Here are the details: What: Python optimization workshop When: Saturday 10th October 2026, 10:00–13:00 Where: Martinhal Lisbon Oriente, Parque das Nações, Lisbon Cost: Free, but places are limited and registration is required Size: Up to 10 people Led by: Myself, Adam Johnson Organised by: Mafalda Marques Register on Luma What we’ll do In my experience, Python projects often have some easy performance improvements waiting to be found, from client projects to large open source projects like Django itself. This workshop is designed to teach you how to find the hot spots worth optimizing, using these three tools in a loop: Capture a profile with cProfile, Python’s built-in profiler. Drill into it with profiling-explorer, to find where the time actually goes. Prove your change worked with tprof, which measures just the functions you…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town