This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients lys.nikolaou, pablogsal, vstinner
Date 2022-01-25.19:06:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643137563.83.0.612264685435.issue46524@roundup.psfhosted.org>
In-reply-to
Content
test_peg_generator takes between 5 and 16 minutes on the Windows CI run on Python pull requests.

Example of timings on my PR https://github.com/python/cpython/pull/30890

* GitHub Action win32: 8 min 16 sec
* GitHub Action win64: 16 min 38 sec
* Azure Pipelines win32: 5 min 30 sec
* Azure Pipelines win64: 8 min 3 sec

Would it be possible to make these tests faster?

Or at least, would it be possible to skip these slow tests on Windows where spawing a process or running a C compiler is slower?

On my Fedora 35 (Linux) laptop, test_peg_generator takes 49.5 seconds. test_peg_generator only takes 736 ms if I disable TestCParser.
History
Date User Action Args
2022-01-25 19:06:03vstinnersetrecipients: + vstinner, lys.nikolaou, pablogsal
2022-01-25 19:06:03vstinnersetmessageid: <1643137563.83.0.612264685435.issue46524@roundup.psfhosted.org>
2022-01-25 19:06:03vstinnerlinkissue46524 messages
2022-01-25 19:06:03vstinnercreate