René's URL Explorer Experiment


Title: gh-132917: Use /proc/self/status for mem usage info. by nascheme · Pull Request #133544 · python/cpython · GitHub

Open Graph Title: gh-132917: Use /proc/self/status for mem usage info. by nascheme · Pull Request #133544 · python/cpython

X Title: gh-132917: Use /proc/self/status for mem usage info. by nascheme · Pull Request #133544 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Using smaps_rollup is slower and we can get the similar info from /proc/self/status. We don't need the extra accuracy that smaps_rollup is giving. Profiling is showing that reading the smaps_r...

X Description: Using smaps_rollup is slower and we can get the similar info from /proc/self/status. We don't need the extra accuracy that smaps_rollup is giving. Profiling is showing that reading the sma...

Opengraph URL: https://github.com/python/cpython/pull/133544

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:89e457d3-1f42-f9b8-fc78-da2cd790aecd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1B8:279B75:1318B29:19C0CE4:6A534545
html-safe-nonceb158fcd98e5c51341f5cf4af309b98c4a0181fe62432b66ccb337a8d247dea1e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUI4OjI3OUI3NToxMzE4QjI5OjE5QzBDRTQ6NkE1MzQ1NDUiLCJ2aXNpdG9yX2lkIjoiMzM0MDY0MDAwNDI5MjY5MTI2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc364d74d31c6be67878c36e9133c938654226c654cdad5f346718320bd5a107d
hovercard-subject-tagpull_request:2502896598
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/133544/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/319654b95583494c5654ca50a92276d0f8dd7898d8f4b9695395bfb322c8eaf7/python/cpython/pull/133544
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/319654b95583494c5654ca50a92276d0f8dd7898d8f4b9695395bfb322c8eaf7/python/cpython/pull/133544
og:image:altUsing smaps_rollup is slower and we can get the similar info from /proc/self/status. We don't need the extra accuracy that smaps_rollup is giving. Profiling is showing that reading the smaps_r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/133544#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133544
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F133544
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/133544
Reloadhttps://github.com/python/cpython/pull/133544
Reloadhttps://github.com/python/cpython/pull/133544
Please reload this pagehttps://github.com/python/cpython/pull/133544
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/133544
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
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-132917-use-proc-statushttps://github.com/nascheme/cpython/tree/gh-132917-use-proc-status
Conversationhttps://github.com/python/cpython/pull/133544
Commits3 (3)https://github.com/python/cpython/pull/133544/commits
Checkshttps://github.com/python/cpython/pull/133544/checks
Files changedhttps://github.com/python/cpython/pull/133544/files
gh-132917: Use /proc/self/status for mem usage info.https://github.com/python/cpython/pull/133544#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-132917-use-proc-statushttps://github.com/nascheme/cpython/tree/gh-132917-use-proc-status
https://github.com/nascheme
naschemehttps://github.com/nascheme
May 6, 2025https://github.com/python/cpython/pull/133544#issue-3044277826
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/10966#note_410194443https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/10966#note_410194443
GC performance regression in free threaded build #132917https://github.com/python/cpython/issues/132917
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/nascheme
Use /proc/self/status for mem usage info.https://github.com/python/cpython/pull/133544/commits/5b3621d51057867e3459f74fe6641cedd0ac2476
5b3621dhttps://github.com/python/cpython/pull/133544/commits/5b3621d51057867e3459f74fe6641cedd0ac2476
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 6, 2025 https://github.com/python/cpython/pull/133544#ref-issue-3019575271
GC performance regression in free threaded build #132917 https://github.com/python/cpython/issues/132917
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 6, 2025https://github.com/python/cpython/pull/133544#event-17546326888
https://github.com/nascheme
naschemehttps://github.com/nascheme
pablogsalhttps://github.com/pablogsal
May 6, 2025 23:32https://github.com/python/cpython/pull/133544#event-17546338688
https://github.com/nascheme
naschemehttps://github.com/nascheme
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
May 6, 2025https://github.com/python/cpython/pull/133544#event-17546476715
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 6, 2025https://github.com/python/cpython/pull/133544#issuecomment-2856594896
@naschemehttps://github.com/nascheme
5b3621dhttps://github.com/python/cpython/commit/5b3621d51057867e3459f74fe6641cedd0ac2476
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133544%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133544%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
May 6, 2025https://github.com/python/cpython/pull/133544#event-17546623627
https://github.com/nascheme
naschemehttps://github.com/nascheme
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
May 7, 2025https://github.com/python/cpython/pull/133544#event-17546636293
https://github.com/nascheme
naschemehttps://github.com/nascheme
May 7, 2025https://github.com/python/cpython/pull/133544#issuecomment-2856986449
Please reload this pagehttps://github.com/python/cpython/pull/133544
GH-132917https://github.com/python/cpython/issues/132917
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/nascheme
naschemehttps://github.com/nascheme
May 7, 2025https://github.com/python/cpython/pull/133544#issuecomment-2857283351
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
May 7, 2025 https://github.com/python/cpython/pull/133544#pullrequestreview-2820728483
View reviewed changes https://github.com/python/cpython/pull/133544/files/bfb5f36c74713e696811793c3b7a20b18e2f4220
Yhg1shttps://github.com/Yhg1s
https://github.com/python/cpython/pull/133544#pullrequestreview-2820728483
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 7, 2025https://github.com/python/cpython/pull/133544#event-17551047561
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 7, 2025https://github.com/python/cpython/pull/133544#issuecomment-2857816466
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/nascheme
Merge branch 'main' intohttps://github.com/python/cpython/pull/133544/commits/f7fe507db46753228bf98b599c4f825b16ea77ce
pythongh-132917https://github.com/python/cpython/issues/132917
-use-proc-statushttps://github.com/python/cpython/pull/133544/commits/f7fe507db46753228bf98b599c4f825b16ea77ce
f7fe507https://github.com/python/cpython/pull/133544/commits/f7fe507db46753228bf98b599c4f825b16ea77ce
https://github.com/nascheme
naschemehttps://github.com/nascheme
May 7, 2025 16:53https://github.com/python/cpython/pull/133544#event-17560120337
https://github.com/nascheme
Merge branch 'main' intohttps://github.com/python/cpython/pull/133544/commits/bfb5f36c74713e696811793c3b7a20b18e2f4220
pythongh-132917https://github.com/python/cpython/issues/132917
-use-proc-statushttps://github.com/python/cpython/pull/133544/commits/bfb5f36c74713e696811793c3b7a20b18e2f4220
bfb5f36https://github.com/python/cpython/pull/133544/commits/bfb5f36c74713e696811793c3b7a20b18e2f4220
https://github.com/nascheme
naschemehttps://github.com/nascheme
751db4ehttps://github.com/python/cpython/commit/751db4e64993b5af98aa1c12cc9d7c7c5882961b
May 8, 2025https://github.com/python/cpython/pull/133544#event-17566761832
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 8, 2025https://github.com/python/cpython/pull/133544#event-17566762170
https://github.com/nascheme
naschemehttps://github.com/nascheme
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 8, 2025https://github.com/python/cpython/pull/133544#event-17581074147
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 8, 2025https://github.com/python/cpython/pull/133544#issuecomment-2864471706
@naschemehttps://github.com/nascheme
Please reload this pagehttps://github.com/python/cpython/pull/133544
miss-islingtonhttps://github.com/miss-islington
May 8, 2025 https://github.com/python/cpython/pull/133544#ref-commit-06a4884
https://github.com/nascheme
https://github.com/miss-islington
pythongh-132917https://github.com/python/cpython/issues/132917
: Use /proc/self/status for mem usage info. (https://github.com/miss-islington/cpython/commit/06a4884714cdc09cd1355dc9877ac0e273c4d20a
pythonGH-…https://github.com/python/cpython/pull/133544
06a4884https://github.com/miss-islington/cpython/commit/06a4884714cdc09cd1355dc9877ac0e273c4d20a
…133544https://github.com/python/cpython/pull/133544
751db4ehttps://github.com/miss-islington/cpython/commit/751db4e64993b5af98aa1c12cc9d7c7c5882961b
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 8, 2025https://github.com/python/cpython/pull/133544#issuecomment-2864472921
GH-133718https://github.com/python/cpython/pull/133718
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 8, 2025https://github.com/python/cpython/pull/133544#event-17581076427
naschemehttps://github.com/nascheme
May 8, 2025 https://github.com/python/cpython/pull/133544#ref-commit-8e86f9c
https://github.com/miss-islington
https://github.com/nascheme
[3.14]https://github.com/python/cpython/commit/8e86f9c3ccbe8955ea5b28b07bb3d37197eef841
gh-132917https://github.com/python/cpython/issues/132917
: Use /proc/self/status for mem usage info. (https://github.com/python/cpython/commit/8e86f9c3ccbe8955ea5b28b07bb3d37197eef841
GH-133544https://github.com/python/cpython/pull/133544
)…https://github.com/python/cpython/commit/8e86f9c3ccbe8955ea5b28b07bb3d37197eef841
8e86f9chttps://github.com/python/cpython/commit/8e86f9c3ccbe8955ea5b28b07bb3d37197eef841
gh-133718https://github.com/python/cpython/pull/133718
751db4ehttps://github.com/python/cpython/commit/751db4e64993b5af98aa1c12cc9d7c7c5882961b
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/133544#ref-commit-11c2f3e
https://github.com/nascheme
https://github.com/Pranjal095
pythongh-132917https://github.com/python/cpython/issues/132917
: Use /proc/self/status for mem usage info. (https://github.com/Pranjal095/cpython/commit/11c2f3e75074f7825f42d550cda17a15bcc44363
python#13…https://github.com/python/cpython/pull/133544
11c2f3ehttps://github.com/Pranjal095/cpython/commit/11c2f3e75074f7825f42d550cda17a15bcc44363
…3544https://github.com/python/cpython/pull/133544
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/133544#ref-commit-cc8e3bd
https://github.com/nascheme
https://github.com/taegyunkim
pythongh-132917https://github.com/python/cpython/issues/132917
: Use /proc/self/status for mem usage info. (https://github.com/taegyunkim/cpython/commit/cc8e3bd7ff27ae95e2e216a847343fdecb522b46
python#13…https://github.com/python/cpython/pull/133544
cc8e3bdhttps://github.com/taegyunkim/cpython/commit/cc8e3bd7ff27ae95e2e216a847343fdecb522b46
…3544https://github.com/python/cpython/pull/133544
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133544
https://github.com/Yhg1s
Yhg1s https://github.com/Yhg1s
https://github.com/python/cpython/pull/133544/files/bfb5f36c74713e696811793c3b7a20b18e2f4220
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/133544
https://github.com/nascheme
https://github.com/bedevere-bot
https://github.com/hugovk
https://github.com/Yhg1s
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.