| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a9c12e02-b343-0b2b-1b5f-07a6ed2511b7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95A0:2FB9D6:85F05E:B48025:6A528CE3 |
| html-safe-nonce | 4a035ed749dd441aa790f09cad0efb825d655dfe5e07db5e23d69ac4744e0834 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUEwOjJGQjlENjo4NUYwNUU6QjQ4MDI1OjZBNTI4Q0UzIiwidmlzaXRvcl9pZCI6IjM5NzMzODczNTk1NzIxMDIzNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ed7d9562fbccbc975c7ae7793200206ea01150561f3c1a9d091f1f8e4bebef55 |
| hovercard-subject-tag | pull_request:3380437626 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/145785/files |
| twitter:image | https://avatars.githubusercontent.com/u/80911834?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/80911834?s=400&v=4 |
| og:image:alt | Differential flame graphs compare two profiling runs and highlight where performance has changed. This makes it easier to detect regressions introduced by code changes and to verify that optimizati... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145785/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145785%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145785%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/145785/files |
| Reload | https://github.com/python/cpython/pull/145785/files |
| Reload | https://github.com/python/cpython/pull/145785/files |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| ivonastojanovic:differential_flamegraph | https://github.com/ivonastojanovic/cpython/tree/differential_flamegraph |
|
Conversation
25
| https://github.com/python/cpython/pull/145785 |
|
Commits
14
| https://github.com/python/cpython/pull/145785/commits |
|
Checks
46
| https://github.com/python/cpython/pull/145785/checks |
|
Files changed
| https://github.com/python/cpython/pull/145785/files |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
gh-138122: Add differential flame graph
| https://github.com/python/cpython/pull/145785/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/145785/files |
|
65528db
Add differential flame graph
ivonastojanovic Mar 8, 2026
| https://github.com/python/cpython/pull/145785/commits/65528db03d7bf2bc7cf0b001c2cb65153cfadc94 |
|
2d97700
Add news
ivonastojanovic Mar 10, 2026
| https://github.com/python/cpython/pull/145785/commits/2d977007408d3027195848a155c99c0b576d29af |
|
6e642e4
Fix colors
ivonastojanovic Mar 26, 2026
| https://github.com/python/cpython/pull/145785/commits/6e642e42951b66564af366b5865ae0f56d54ea7d |
|
37289cb
Show diff in ms
ivonastojanovic Mar 26, 2026
| https://github.com/python/cpython/pull/145785/commits/37289cb00dc9be48d58521a495472f90a87211c1 |
|
edaac9f
Refactor active flamegraph data retrieval
ivonastojanovic Mar 26, 2026
| https://github.com/python/cpython/pull/145785/commits/edaac9fcdf8d2f1c6adc253f0e83da2881ffb6f1 |
|
c2203d6
Improve tests
ivonastojanovic Mar 27, 2026
| https://github.com/python/cpython/pull/145785/commits/c2203d67695bca714095a29999919b52313e543e |
|
afe2f4e
Change removed functions color
ivonastojanovic Mar 27, 2026
| https://github.com/python/cpython/pull/145785/commits/afe2f4ebfcc5f28f7313ae7bb4d1b06b5af08532 |
|
c0d937f
Fix opcode merging in inverted flamegraph view
ivonastojanovic Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/c0d937f83fd842b49ab94d07a54fe5fd7e99772e |
|
080d2c8
fixup! Improve tests
ivonastojanovic Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/080d2c8edd442933052897984f23097df3029717 |
|
440d333
Merge branch 'main' into differential_flamegraph
ivonastojanovic Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/440d333df875aef352781b1f9ad69102e4438578 |
|
f4928b9
Update Lib/profiling/sampling/stack_collector.py
pablogsal Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/f4928b968ed2aef3ca95075ff6e0f65975567f82 |
|
5556396
Update Lib/profiling/sampling/stack_collector.py
picnixz Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/5556396e855fe2580b5b2f278b7640d620249ed0 |
|
d515f73
Random fixes
pablogsal Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/d515f731d3b315b4b74c12040ab5d468e9b5bcd8 |
|
f753071
Small fix to cli
pablogsal Mar 29, 2026
| https://github.com/python/cpython/pull/145785/commits/f7530714c8c5cc089218926d0ae80a8e678176fc |
|
Clear filters
| https://github.com/python/cpython/pull/145785/files |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
profiling.sampling.rst
| https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
flamegraph.css
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
flamegraph.js
| https://github.com/python/cpython/pull/145785/files#diff-f154b900a5537cc40c99b86ad6f651f4e95ae01b5c00180bd4f94b69a5334dd1 |
|
flamegraph_template.html
| https://github.com/python/cpython/pull/145785/files#diff-87288e2d6ee961c06aecceb13c9cc525ee79c530deb94a797a134fa479e9b5f0 |
|
cli.py
| https://github.com/python/cpython/pull/145785/files#diff-51671a4eea64fc8902d5f510e433ab2949b6b5b6d944ec963ab541d5ee315e0f |
|
stack_collector.py
| https://github.com/python/cpython/pull/145785/files#diff-30798ab579c76386ef4bc482ff5d57ec1b76978d34b3fd2556a158ddc0fb941e |
|
mocks.py
| https://github.com/python/cpython/pull/145785/files#diff-86b995f17112ac0610d8ad2d4dda367fbbc101d5630004317b12fab01376724a |
|
test_collectors.py
| https://github.com/python/cpython/pull/145785/files#diff-8436f3f406ad4ede0e395a9a742e325aee99447b5cdac2a56839230c0e519bd2 |
|
2026-03-10-19-50-59.gh-issue-138122.CsoBEo.rst
| https://github.com/python/cpython/pull/145785/files#diff-7dc9d3dc4d0dab714a80188f4de8092989af623710469adc2fe21195cc8af498 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L556 |
| Doc/library/profiling.sampling.rst | https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
View file
| https://github.com/ivonastojanovic/cpython/blob/f7530714c8c5cc089218926d0ae80a8e678176fc/Doc/library/profiling.sampling.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145785/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
| https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
| https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
| https://github.com/python/cpython/pull/145785/files#diff-fd865a49f6bfe4f5cc62789d01b048962675c6414556d2d658da9c3338e3f362 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L557 |
| Lib/profiling/sampling/_flamegraph_assets/flamegraph.css | https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
View file
| https://github.com/ivonastojanovic/cpython/blob/f7530714c8c5cc089218926d0ae80a8e678176fc/Lib/profiling/sampling/_flamegraph_assets/flamegraph.css |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145785/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
|
| https://github.com/python/cpython/pull/145785/files#diff-9938033569625f8ac4a6faa6ca656205a1640d72306f428adb63758d04a6c213 |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
| Please reload this page | https://github.com/python/cpython/pull/145785/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |