Python 3.15 Preview: Sampling Profiler Quiz

Interactive Quiz ⋅ 12 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Python 3.15 Preview: Sampling Profiler.

By working through this quiz, you’ll revisit how a sampling profiler differs from a tracing one, how to split wall-clock time from CPU time, how to spot which thread is hogging the GIL, how to read flame graphs and line-level heatmaps, and how to attach the profiler to a process that’s already running.

The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A person holding a notebook plugs a cable into a bank of profiling machines showing a sampling timeline, a snapshot lever, waveform readouts, a flame graph, and a Python logo.

Tutorial

Python 3.15 Preview: Sampling Profiler

Explore Python 3.15's new sampling profiler and learn low-overhead profiling of scripts, threads, and live production processes.

advanced python