René's URL Explorer Experiment


Title: Sampling binary profiles do not record the profiling mode · Issue #154090 · python/cpython · GitHub

Open Graph Title: Sampling binary profiles do not record the profiling mode · Issue #154090 · python/cpython

X Title: Sampling binary profiles do not record the profiling mode · Issue #154090 · python/cpython

Description: Bug report Bug description: The sampling binary header does not record --mode. Replay and differential flamegraphs therefore cannot describe or validate how the baseline was collected. python -m profiling.sampling run --mode cpu --binary...

Open Graph Description: Bug report Bug description: The sampling binary header does not record --mode. Replay and differential flamegraphs therefore cannot describe or validate how the baseline was collected. python -m pr...

X Description: Bug report Bug description: The sampling binary header does not record --mode. Replay and differential flamegraphs therefore cannot describe or validate how the baseline was collected. python -m pr...

Opengraph URL: https://github.com/python/cpython/issues/154090

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sampling binary profiles do not record the profiling mode","articleBody":"# Bug report\n\n### Bug description:\n\nThe sampling binary header does not record `--mode`. Replay and differential flamegraphs therefore cannot describe or validate how the baseline was collected.\n\n```bash\npython -m profiling.sampling run --mode cpu --binary -o baseline.bin demo.py\npython -m profiling.sampling replay --flamegraph -o replay.html baseline.bin\npython -m profiling.sampling run --mode wall --diff-flamegraph baseline.bin -o diff.html demo.py\n```\n\nThe replay has no CPU-mode metadata, and the differential run silently compares a CPU baseline with a wall-time profile. These measurements are not comparable.\n\n### CPython versions tested on:\n\n3.16\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-154105\n* gh-158144\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2026-07-19T10:17:46Z","url":"https://github.com/python/cpython/issues/154090"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d3fdea92-78ae-f1fa-abec-0787338d9abc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA12:23E48:B0A52F:DD55AE:6B023368
html-safe-nonce6897165268f355ded8c052d83ef95a91e1bf42d5c6af39a367a576e7b3c91aec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTEyOjIzRTQ4OkIwQTUyRjpERDU1QUU6NkIwMjMzNjgiLCJ2aXNpdG9yX2lkIjoiMzQ1MTc3MjAwODIxMDI0ODU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac041c139a2efcc15dbdc836337ae2afd395b0416ed3f27f3870f18e2907ea9eb9
hovercard-subject-tagissue:4922276839
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/154090/issue_layout
twitter:imagehttps://opengraph.githubassets.com/59762c6c678505ae64ea041cd6cfffcd5171428a1c58841c27fb297086e5a9be/python/cpython/issues/154090
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59762c6c678505ae64ea041cd6cfffcd5171428a1c58841c27fb297086e5a9be/python/cpython/issues/154090
og:image:altBug report Bug description: The sampling binary header does not record --mode. Replay and differential flamegraphs therefore cannot describe or validate how the baseline was collected. python -m pr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/154090#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F154090
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F154090
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/154090
Reloadhttps://github.com/python/cpython/issues/154090
Reloadhttps://github.com/python/cpython/issues/154090
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/154090
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/154090
#154105https://github.com/python/cpython/pull/154105
Sampling binary profiles do not record the profiling modehttps://github.com/python/cpython/issues/154090#top
#154105https://github.com/python/cpython/pull/154105
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
on Jul 19, 2026https://github.com/python/cpython/issues/154090#issue-4922276839
gh-154090: Store profiling mode in binary files #154105https://github.com/python/cpython/pull/154105
[3.15] gh-154090: Store profiling mode and capture settings in binary profiles (GH-154105) #158144https://github.com/python/cpython/pull/158144
pablogsalhttps://github.com/pablogsal
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
on Jul 19, 2026https://github.com/python/cpython/issues/154090#event-28177582887
pablogsalhttps://github.com/pablogsal
on Jul 19, 2026https://github.com/python/cpython/issues/154090#event-28178712141
pythongh-154090: Preserve modes across replay outputshttps://github.com/pablogsal/cpython/commit/b931bc3ca7c8473ebaa8e29218adb5a80d5055a6
pythongh-154090https://github.com/python/cpython/issues/154090
b931bc3https://github.com/pablogsal/cpython/commit/b931bc3ca7c8473ebaa8e29218adb5a80d5055a6
pablogsalhttps://github.com/pablogsal
on Aug 25, 2026https://github.com/python/cpython/issues/154090#event-30012843002
pythongh-154090: Store profiling mode in binary fileshttps://github.com/pablogsal/cpython/commit/500215b349b58992c98726f3a3c5e8226664fdaf
pythongh-154090https://github.com/python/cpython/issues/154090
500215bhttps://github.com/pablogsal/cpython/commit/500215b349b58992c98726f3a3c5e8226664fdaf
pythongh-154090: Preserve modes across replay outputshttps://github.com/pablogsal/cpython/commit/5a9fbe7dd39e145f6fb268a4370e9c1d90413c25
pythongh-154090https://github.com/python/cpython/issues/154090
5a9fbe7https://github.com/pablogsal/cpython/commit/5a9fbe7dd39e145f6fb268a4370e9c1d90413c25
pythongh-154090: Preserve binary capture configurationhttps://github.com/pablogsal/cpython/commit/b4a2bf9500f9a28cffc980ce52a841dc1a2574ce
pythongh-154090https://github.com/python/cpython/issues/154090
b4a2bf9https://github.com/pablogsal/cpython/commit/b4a2bf9500f9a28cffc980ce52a841dc1a2574ce
pythongh-154090: Regenerate global identifiershttps://github.com/pablogsal/cpython/commit/b92658886c8361617456e7e21db76a2b46916b5e
pythongh-154090https://github.com/python/cpython/issues/154090
b926588https://github.com/pablogsal/cpython/commit/b92658886c8361617456e7e21db76a2b46916b5e
pablogsalhttps://github.com/pablogsal
on Sep 24, 2026https://github.com/python/cpython/issues/154090#event-31786395430
pythongh-154090: Store profiling mode in binary fileshttps://github.com/pablogsal/cpython/commit/626a08ab2f6fe0fd68f0f2db5e6f8b17ecc7eca1
pythongh-154090https://github.com/python/cpython/issues/154090
626a08ahttps://github.com/pablogsal/cpython/commit/626a08ab2f6fe0fd68f0f2db5e6f8b17ecc7eca1
pythongh-154090: Preserve modes across replay outputshttps://github.com/pablogsal/cpython/commit/1097e5399f2474bc25f53821ce7c09ed0a12f10a
pythongh-154090https://github.com/python/cpython/issues/154090
1097e53https://github.com/pablogsal/cpython/commit/1097e5399f2474bc25f53821ce7c09ed0a12f10a
pythongh-154090: Preserve binary capture configurationhttps://github.com/pablogsal/cpython/commit/45cce24330f852576e76464ac880028a8b9034b1
pythongh-154090https://github.com/python/cpython/issues/154090
45cce24https://github.com/pablogsal/cpython/commit/45cce24330f852576e76464ac880028a8b9034b1
pythongh-154090: Regenerate global identifiershttps://github.com/pablogsal/cpython/commit/e33d34f35a48292e24f528df172154bc8777c773
pythongh-154090https://github.com/python/cpython/issues/154090
e33d34fhttps://github.com/pablogsal/cpython/commit/e33d34f35a48292e24f528df172154bc8777c773
gh-154090: Store profiling mode and capture settings in binary profil…https://github.com/python/cpython/commit/d3663ef943d984f4c8e349d705b61f393385d817
gh-154090https://github.com/python/cpython/issues/154090
d3663efhttps://github.com/python/cpython/commit/d3663ef943d984f4c8e349d705b61f393385d817
pablogsalhttps://github.com/pablogsal
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#154105https://github.com/python/cpython/pull/154105
on Sep 24, 2026https://github.com/python/cpython/issues/154090#event-31797405552
pablogsalhttps://github.com/pablogsal
on Sep 24, 2026https://github.com/python/cpython/issues/154090#event-31798820330
[3.15] gh-154090: Store profiling mode and capture settings in binary…https://github.com/python/cpython/commit/13b1659d6e8cb39436bf6b772725f61f33e6ec47
gh-154090https://github.com/python/cpython/issues/154090
13b1659https://github.com/python/cpython/commit/13b1659d6e8cb39436bf6b772725f61f33e6ec47
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/154090
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/154090
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-profilinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-profiling%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.