Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Let's Build a Python Profiler in 25 LOC

EuroPython Conference via YouTube

Overview

Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Explore the process of building a Python profiler from scratch in this 27-minute EuroPython 2018 conference talk. Dive into the dynamic nature of Python and learn about well-known profilers like cProfile. Understand the differences between tracing and sampling profilers, and discover when to use each type. Gain insights into accessing Python stack information, creating deterministic and statistical profilers, and visualizing results with flamegraphs. By the end of the talk, acquire the knowledge to construct a functional Python profiler in just 25 lines of code.

Syllabus

Intro
Accessing Python Stack
deterministic profiler
statistical profiler
build a profiler
flamegraph
Reference

Taught by

EuroPython Conference

Reviews

Start your review of Let's Build a Python Profiler in 25 LOC

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.