Title: Split long running test suites up into smaller sub suites to reduce our regrtest long tail on multi-core systems. · Issue #108388 · python/cpython · GitHub
Open Graph Title: Split long running test suites up into smaller sub suites to reduce our regrtest long tail on multi-core systems. · Issue #108388 · python/cpython
X Title: Split long running test suites up into smaller sub suites to reduce our regrtest long tail on multi-core systems. · Issue #108388 · python/cpython
Description: The slowest tests of the Python test suite are: test_concurrent_futures test_multiprocessing_spawn test_peg_generator test_tools.test_freeze tests They each tend take multiple minutes to run. The bulk of our others take <10 seconds. They...
Open Graph Description: The slowest tests of the Python test suite are: test_concurrent_futures test_multiprocessing_spawn test_peg_generator test_tools.test_freeze tests They each tend take multiple minutes to run. The b...
X Description: The slowest tests of the Python test suite are: test_concurrent_futures test_multiprocessing_spawn test_peg_generator test_tools.test_freeze tests They each tend take multiple minutes to run. The b...
Opengraph URL: https://github.com/python/cpython/issues/108388
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Split long running test suites up into smaller sub suites to reduce our regrtest long tail on multi-core systems.","articleBody":"The slowest tests of the Python test suite are:\r\n\r\n* test_concurrent_futures\r\n* test_multiprocessing_spawn\r\n* test_peg_generator\r\n* test_tools.test_freeze tests\r\n\r\nThey each tend take multiple minutes to run. The bulk of our others take \u003c10 seconds. They occupy a lot of wall time as a long tail in a normal make test or regrtest run on a typical parallel run multi-core systems.\r\n\r\nThis bug originally proposed to skip them unless the \"cpu\" resource is enabled (it's disabled by default). That was deemed appropriate for `test_peg_generator` and `test_tools.test_freeze` which are either not platform specific or rarely needed in CI. (PR #108386) - This PR reduced the total test duration between **3** and **5** minutes.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-108389\r\n* gh-108391\r\n* gh-108393\r\n* gh-108396\r\n* gh-108397\r\n* gh-108401\r\n* gh-108442\n* gh-108443\n* gh-109688\n* gh-109704\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-08-23T23:05:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/108388/cpython/issues/108388"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce524bef-91ef-cbd1-cb82-e67419ebb2a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93AC:34A143:12C2201:1938FB6:6969AC3F |
| html-safe-nonce | 4ed97802174981ad300c33d25af43fa792f0c3ba60be0c4d8ab16f4a956c0144 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0FDOjM0QTE0MzoxMkMyMjAxOjE5MzhGQjY6Njk2OUFDM0YiLCJ2aXNpdG9yX2lkIjoiMjA0OTgwMTkzNzI0NTI4NTQzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dba97ddc4c9c30134d443d8d90b451246bd2d21292e239d74a996b9e91b34e78 |
| hovercard-subject-tag | issue:1864129044 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/108388/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2e9c9f94dfc6125b54250fceae6f86cc5070cbb4d9c0e068b220b2e2189bb85/python/cpython/issues/108388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2e9c9f94dfc6125b54250fceae6f86cc5070cbb4d9c0e068b220b2e2189bb85/python/cpython/issues/108388 |
| og:image:alt | The slowest tests of the Python test suite are: test_concurrent_futures test_multiprocessing_spawn test_peg_generator test_tools.test_freeze tests They each tend take multiple minutes to run. The b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width