Title: gh-82054: allow test runner to split test_asyncio by zitterbewegung · Pull Request #103859 · python/cpython · GitHub
Open Graph Title: gh-82054: allow test runner to split test_asyncio by zitterbewegung · Pull Request #103859 · python/cpython
X Title: gh-82054: allow test runner to split test_asyncio by zitterbewegung · Pull Request #103859 · python/cpython
Description: Summary: This runs test_asyncio sub-tests in parallel using sharding by cinder. These two tests are typically the long-poles in runs because they are modules with a lot of further sub-tests run serially. By breaking out the sub-tests as independent modules we can run a lot more in parallel. After porting we can see the direct impact is extremely large (15% increase in performance): Without this change: Running make test is 5 min 26 sec With this change: Running make test takes 3 min and 45 seconds The drawbacks are that this implementation is hacky and due to the sorting of the tests it obscures when the asyncio tests occur and involves changing CPython test infrastructure but, the time saved it is worth it . It's not a complicated change and I think the win in productivity with the change above is significant. Issue: gh-82054
Open Graph Description: Summary: This runs test_asyncio sub-tests in parallel using sharding by cinder. These two tests are typically the long-poles in runs because they are modules with a lot of further sub-tests run ser...
X Description: Summary: This runs test_asyncio sub-tests in parallel using sharding by cinder. These two tests are typically the long-poles in runs because they are modules with a lot of further sub-tests run ser...
Opengraph URL: https://github.com/python/cpython/pull/103859
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4a5b2a89-a4aa-2491-aebe-378553b6d8a7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB76:341673:6C5D04:916D42:6969B8CD |
| html-safe-nonce | ca4bc7409aa1edaf6caa89b687e8e4d32d0f05603301049eaf7c5089c809bea7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjc2OjM0MTY3Mzo2QzVEMDQ6OTE2RDQyOjY5NjlCOENEIiwidmlzaXRvcl9pZCI6Ijc1NDEyMjYwMjUzMDc5Nzc5MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10ac00c0c3bfb7f5219b5c911cd3a9fc9c4c2b37d5d9527eebc1633922a0b266 |
| hovercard-subject-tag | pull_request:1327866045 |
| 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/103859/files |
| twitter:image | https://avatars.githubusercontent.com/u/30265?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/30265?s=400&v=4 |
| og:image:alt | Summary: This runs test_asyncio sub-tests in parallel using sharding by cinder. These two tests are typically the long-poles in runs because they are modules with a lot of further sub-tests run ser... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width