PyCon Israel 2022

🇺🇸 From PyPerf to py-spy - Everything You Need to Know About Python Profilers
06-29, 14:30–14:50 (Asia/Jerusalem), Main Hall

With the increasing complexity of modern Python applications and the high cost of running them in the cloud––the need for profiling solutions rises. However, current solutions often times fall short.


With the increasing complexity of modern Python applications and the high cost of running them in the cloud the need for profiling solutions rises, but current solutions often times fall short, and are not equipped for the requirements of many common stacks and environments.

In this talk we will describe how contemporary Python profilers are implemented, discuss and demonstrate the advantages and disadvantages of different implementation approaches in different use cases. This talk will dive into modern profiling with flamegraphs - when and how to use them for the most accurate results, and introduce the Python profilers PyPerf & py-spy and new implementation approaches including PyPerfMap - for a simpler ramp up, alongside more reliable data, that can work on any Linux machine.


Session language

English

Target audience

DevOps

Other (target audience)

Developers / Platform Engineers

Yishai Zinkin is a member of Granulate’s Research Team, working on the development and deployment of their real-time continuous optimization solution as an expert in low-level programming. Before joining Granulate, Yishai served as a Software Engineer for five years at the Center of Encryption and Information Security of Israel Defense Forces.