diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-03 04:32:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 04:32:54 (GMT) |
commit | e8258608c28c65680253d0ca6167430e34c2fd87 (patch) | |
tree | aff8e1e155a9038d1547cbd77dee33d6e6b78b0e /Lib/idlelib/query.py | |
parent | fafd2dadf63973a04f5693e5be19f3e7521c10d4 (diff) | |
download | cpython-e8258608c28c65680253d0ca6167430e34c2fd87.zip cpython-e8258608c28c65680253d0ca6167430e34c2fd87.tar.gz cpython-e8258608c28c65680253d0ca6167430e34c2fd87.tar.bz2 |
[3.9] [3.10] bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. (GH-31015) (GH-31089) (GH-31093)
Disable compiler optimization within test_peg_generator.
This speed up test_peg_generator by always disabling compiler
optimizations by using -O0 or equivalent 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.
Also incorporate's GH-31017's win32 conditional and flags.
Co-authored-by: Kumar Aditya kumaraditya303.
(cherry picked from commit 164a017e13ee96bd1ea1ae79f5ac9e25fe83994e)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit f5ebec4d3e1199ec38b88920cfde8e460e5120dd)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Automerge-Triggered-By: GH:gpshead
Diffstat (limited to 'Lib/idlelib/query.py')
0 files changed, 0 insertions, 0 deletions