<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut" -->

---
title: Python 3.15 Preview: Sampling Profiler Quiz – Real Python
description: An interactive 12-question quiz tests understanding of Python 3.15's new sampling profiler, covering the difference between sampling and tracing profilers,...
canonical: https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Python 3.15 Preview: Sampling Profiler Quiz – Real Python | daily.dev
og:description: An interactive 12-question quiz tests understanding of Python 3.15's new sampling profiler, covering the difference between sampling and tracing profilers,...
og:url: https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut
og:image: https://api.daily.dev/og/posts/eeTgFHwut.png
og:image:alt: Python 3.15 Preview: Sampling Profiler Quiz – Real Python
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Python 3.15 Preview: Sampling Profiler Quiz – Real Python

**[Real Python](https://daily.dev/sources/rpython)** · 1 min read · 1 upvotes · 0 comments

## Summary

An interactive 12-question quiz tests understanding of Python 3.15's new sampling profiler, covering the difference between sampling and tracing profilers, splitting wall-clock time from CPU time, identifying GIL-hogging threads, reading flame graphs and line-level heatmaps, and attaching the profiler to an already-running process.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://realpython.com/quizzes/python315-sampling-profiler>

## Questions this post answers

### What new profiling feature is coming in Python 3.15?

Python 3.15 introduces a built-in sampling profiler, distinct from the tracing profilers used previously. It supports separating wall-clock time from CPU time, identifying which thread holds the GIL, generating flame graphs and line-level heatmaps, and attaching to a process that is already running without restarting it.

_Developers preparing for the profiler change can track Python 3.15 updates on daily.dev as the release approaches._

## Similar posts on daily.dev

- [Python 3.15 Preview: Upgraded JIT Compiler Quiz – Real Python](https://daily.dev/posts/python-3-15-preview-upgraded-jit-compiler-quiz-real-python-rq9dedraj) · Real Python · 0 upvotes · 0 comments
- [Python 3.15 Has a Production Profiler. Python 3.15 Is Not Production-Ready.](https://daily.dev/posts/python-3-15-has-a-production-profiler-python-3-15-is-not-production-ready--wgbuvk9t9) · Medium · 1 upvotes · 0 comments
- [Profiling in Python: How to Find Performance Bottlenecks Quiz – Real Python](https://daily.dev/posts/profiling-in-python-how-to-find-performance-bottlenecks-quiz-real-python-dypr2tprw) · Real Python · 0 upvotes · 0 comments
- [What’s new in Python 3.15 ¶](https://daily.dev/posts/what-s-new-in-python-3-15--0wvfayvfu) · Hacker News · 1 upvotes · 0 comments
- [\#497: Faster than light profiling](https://daily.dev/posts/497-faster-than-light-profiling-iqkcdikzo) · Planet Python · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Python 3.15 Preview: Sampling Profiler Quiz – Real Python","url":"https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut"},"datePublished":"2026-08-26T12:04:12.422Z","dateModified":"2026-09-14T07:32:16.390Z","description":"An interactive 12-question quiz tests understanding of Python 3.15's new sampling profiler, covering the difference between sampling and tracing profilers,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/03d00d0ce399e4680e8c6d8812a00f89?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/03d00d0ce399e4680e8c6d8812a00f89?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Real Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Real Python","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython","url":"https://daily.dev/sources/rpython"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,performance","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Real Python","item":"https://daily.dev/sources/rpython"},{"@type":"ListItem","position":3,"name":"Python 3.15 Preview: Sampling Profiler Quiz – Real Python"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/python-3-15-preview-sampling-profiler-quiz-real-python-eetgfhwut#faq","mainEntity":[{"@type":"Question","name":"What new profiling feature is coming in Python 3.15?","acceptedAnswer":{"@type":"Answer","text":"Python 3.15 introduces a built-in sampling profiler, distinct from the tracing profilers used previously. It supports separating wall-clock time from CPU time, identifying which thread holds the GIL, generating flame graphs and line-level heatmaps, and attaching to a process that is already running without restarting it. Developers preparing for the profiler change can track Python 3.15 updates on daily.dev as the release approaches."}}]}
```

