Title: bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. by gpshead · Pull Request #31015 · python/cpython · GitHub
Open Graph Title: bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. by gpshead · Pull Request #31015 · python/cpython
X Title: bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. by gpshead · Pull Request #31015 · python/cpython
Description: This speed up test_peg_generator by always disabling compiler optimizations by using -O0 by default when the test is building its own C extensions. A build not using --with-pydebug in order to speed up test execution winds up with this test taking a very long time as it would do repeated compilation of parser C code using the same optimization flags as CPython was built with. This speeds the test up 6-8x on gps-raspbian. Includes the win32 changes from #31017 by Kumar Aditya https://bugs.python.org/issue46576
Open Graph Description: This speed up test_peg_generator by always disabling compiler optimizations by using -O0 by default when the test is building its own C extensions. A build not using --with-pydebug in order to spee...
X Description: This speed up test_peg_generator by always disabling compiler optimizations by using -O0 by default when the test is building its own C extensions. A build not using --with-pydebug in order to spee...
Opengraph URL: https://github.com/python/cpython/pull/31015
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b910fad-a452-484c-d51c-d824081243f3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 916E:247E0C:1B5277C:258E7DD:696AB5C7 |
| html-safe-nonce | 8316420e8576de8a8dc6b63d389bcdbc89e479ee9feb357ff64681ef3bfb0ca3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTZFOjI0N0UwQzoxQjUyNzdDOjI1OEU3REQ6Njk2QUI1QzciLCJ2aXNpdG9yX2lkIjoiODQyMDg5NDgzMDAwNTc2MTQ3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f39cf8c0a1b5f17931b0bb7437e2dd42cadcabe98013a071d29744df456518b0 |
| hovercard-subject-tag | pull_request:835207790 |
| 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/31015/files |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | This speed up test_peg_generator by always disabling compiler optimizations by using -O0 by default when the test is building its own C extensions. A build not using --with-pydebug in order to spee... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width