Title: gh-132952: Improve Python startup time by ~12% by mdboom · Pull Request #132956 · python/cpython · GitHub
Open Graph Title: gh-132952: Improve Python startup time by ~12% by mdboom · Pull Request #132956 · python/cpython
X Title: gh-132952: Improve Python startup time by ~12% by mdboom · Pull Request #132956 · python/cpython
Description: This improves the time of a no-site.py startup by 12%, i.e. python -c pass -S I'm not strongly of the opinion this should be merged (hence the draft PR), since there are probably all kinds of other places where "lazy importing" could be used to improve startup time that don't improve readability. On the other hand, it's a fairly large regression from 3.13.x that we may want to avoid. Issue: gh-132952
Open Graph Description: This improves the time of a no-site.py startup by 12%, i.e. python -c pass -S I'm not strongly of the opinion this should be merged (hence the draft PR), since there are probably all kinds of ...
X Description: This improves the time of a no-site.py startup by 12%, i.e. python -c pass -S I'm not strongly of the opinion this should be merged (hence the draft PR), since there are probably all kinds...
Opengraph URL: https://github.com/python/cpython/pull/132956
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e2336b8f-746d-e83e-5a8b-d8dcff9eaa1b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F00:1F29:40334FF:5911393:6A50D4B0 |
| html-safe-nonce | 9ade5b0c3178ce9617f86625d2511bc6e9279176aa789130b133e3df94ad518b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjAwOjFGMjk6NDAzMzRGRjo1OTExMzkzOjZBNTBENEIwIiwidmlzaXRvcl9pZCI6IjIzMzI1MDc2MDY3ODQ5ODgzMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95117cc3f7d67e7b13c961b687384bcebc2de3504c7916c557364e8e21f79c6f |
| hovercard-subject-tag | pull_request:2481925711 |
| 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/132956/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| og:image:alt | This improves the time of a no-site.py startup by 12%, i.e. python -c pass -S I'm not strongly of the opinion this should be merged (hence the draft PR), since there are probably all kinds of ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 5bf72d88d55658ca72495ccb034c76af6c4c2feb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width