PyCon Israel 2024

Reducing your memory footprint by 75% with 6 lines of code
09-16, 15:00–15:20 (Asia/Jerusalem), Main Hall (30)
Language: עברית

While profiling a slow process I stumbled upon a surprising way to reduce our memory consumption. This talk will present some useful profiling tools, and an important thing to know when using AbstractBaseClass extensively.


In this session, we will dive into the realm of Python optimization, as we cover some essential profiling tools designed to identify and resolve performance bottlenecks in your code. We'll navigate through practical examples, showcasing how these tools can provide invaluable insights into your application's memory and CPU usage patterns.

Furthermore, we'll delve into some nuances of AbstractBaseClass usage, and its implications on speed and memory management in Python applications.

Whether you're a seasoned developer or just starting your journey with Python, this session offers some practical strategies to optimize Python programs effectively.


Expected experience level of participants

Intermediate

Target audience

Developers

Tomer is the Tech Lead at april, a startup revolutionizing individual tax filing in the US. Previously he was Principal Software Engineer at Red Hat, and is a long time open source advocate and contributor. In his spare time he enjoys drinking craft beer and traveling with his family.