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: 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_rollup file is taking on the order of 30 ms. Reading status is much faster. Some background detail on this difference: https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/10966#note_410194443 Issue: gh-132917
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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:86efc0bf-6a93-7140-686f-5f125192b741 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A77E:290D1F:3133A0A:4320A23:6A53EDFC |
| html-safe-nonce | b27f8cb63696a4e5fcbf0a9d31bdf83a8a8484eef90fd87c826d62bf165587e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzdFOjI5MEQxRjozMTMzQTBBOjQzMjBBMjM6NkE1M0VERkMiLCJ2aXNpdG9yX2lkIjoiMTQwMDAxNzM3NDQzMDg4MzMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8abd56082b8b3355db39de33c2780f4aa822d78f87261ef997e4f02be0879bf6 |
| hovercard-subject-tag | pull_request:2502896598 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/133544/files |
| twitter:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| og:image:alt | 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... |
| 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 |
| 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 |
Links:
Viewport: width=device-width