Title: Devguide recommends a very slow testing configuration · Issue #1895 · python/devguide · GitHub
Open Graph Title: Devguide recommends a very slow testing configuration · Issue #1895 · python/devguide
X Title: Devguide recommends a very slow testing configuration · Issue #1895 · python/devguide
Description: Describe the enhancement or feature you would like At the PyCon AU sprints, I found that running the test suite in parallel with make test under --with-pydebug on my machine took ~3.5 minutes, while running with the default configuration...
Open Graph Description: Describe the enhancement or feature you would like At the PyCon AU sprints, I found that running the test suite in parallel with make test under --with-pydebug on my machine took ~3.5 minutes, whil...
X Description: Describe the enhancement or feature you would like At the PyCon AU sprints, I found that running the test suite in parallel with make test under --with-pydebug on my machine took ~3.5 minutes, whil...
Opengraph URL: https://github.com/python/devguide/issues/1895
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Devguide recommends a very slow testing configuration","articleBody":"### Describe the enhancement or feature you would like\n\nAt the PyCon AU sprints, I found that running the test suite in parallel with `make test` under `--with-pydebug` on my machine took ~3.5 minutes, while running with the default configuration took ~1 minute.\n\nRunning the test suite sequentially with `python -m test` took ~18 minutes on a default build, while `--with-pydebug` took ~27 minutes.\n\nOne of the sprint attendees (with a much slower system in general) had their sequential test run take ~45 minutes under `--with-pydebug`, dropping to around ~25 minutes when using the default build configuration, and then down to ~5 minutes by running with `make test` rather than `python -m test`.\n\nhttps://github.com/python/devguide/issues/1171 covered updating https://devguide.python.org/getting-started/quick-reference/#quick-reference to recommend parallel test execution, but https://devguide.python.org/testing/run-write-tests/#running buries the parallel execution command well down the page.\n\nThere are multiple intersecting issues here:\n\n* between the intro, the table of section references, and the video embed, the \"Quick reference\" link has dropped \"below the fold\" on the landing page (at least on my laptop screen)\n* some of the instructions were originally written for C-focused development and then never revisited for pure Python contributors\n* we're inconsistent in our recommendations for how to run the test suite (and we don't emphasise how slow it is to run them sequentially, so you almost never want to actually do that if you can avoid it)\n\nOne change I think would be worth making is to recommend an unqualified `make` as the default build configuration (especially when working pure Python changes without touching any of the C code), and mention `make --with-pydebug` as an option that is slower in execution, but provides a much better debugging experience when working on C level changes (with reference to https://docs.python.org/3/using/configure.html#python-debug-build)\n\nAnother would be to move the quick reference section heading and linking paragraph up above the section link table.\n\n### Describe alternatives you have considered\n\n_No response_\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/ncoghlan","@type":"Person","name":"ncoghlan"},"datePublished":"2026-08-30T04:19:31Z","url":"https://github.com/python/devguide/issues/1895"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:0f98588e-4a13-4a15-688e-e7abaf38c176 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF02:395268:209BD09:2B0A652:6B06941F |
| html-safe-nonce | 8f11a8c66d54da0587c5b8d3477c941c6d7f60601ecaa9e332f027095e71c18e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjAyOjM5NTI2ODoyMDlCRDA5OjJCMEE2NTI6NkIwNjk0MUYiLCJ2aXNpdG9yX2lkIjoiODg5MTIxODA4ODUyNDQyMDEyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9fd4ba41670e3575ad0c01cd305ca987f8150206735f90b14f008d17806c1131 |
| hovercard-subject-tag | issue:5290316457 |
| 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/devguide/1895/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b9a33c6dc665d08fd58487b913f23be0882997d2804e875f909bb5df2d4b595/python/devguide/issues/1895 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b9a33c6dc665d08fd58487b913f23be0882997d2804e875f909bb5df2d4b595/python/devguide/issues/1895 |
| og:image:alt | Describe the enhancement or feature you would like At the PyCon AU sprints, I found that running the test suite in parallel with make test under --with-pydebug on my machine took ~3.5 minutes, whil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ncoghlan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| go-import | github.com/python/devguide git https://github.com/python/devguide.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 63972479 |
| octolytics-dimension-repository_nwo | python/devguide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63972479 |
| octolytics-dimension-repository_network_root_nwo | python/devguide |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width