cpython/Tools/peg_generator
Gregory P. Smith 164a017e13
bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. (#31015)
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 #31017's win32 conditional and flags.

Co-authored-by: Kumar Aditya kumaraditya303
2022-02-02 12:15:16 -08:00
..
data Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
peg_extension Sanitize macros and debug functions in pegen.c (GH-25291) 2021-04-09 01:17:31 +01:00
pegen bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. (#31015) 2022-02-02 12:15:16 -08:00
scripts Fix typos in the Tools directory (GH-28769) 2021-10-06 10:55:16 -07:00
.clang-format
.gitignore bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183) 2020-05-18 11:27:40 -07:00
Makefile Refactor parser compilation units into specific components (GH-29676) 2021-11-21 01:08:50 +00:00
mypy.ini Update pegen to use the latest upstream developments (GH-27586) 2021-08-12 17:37:30 +01:00
pyproject.toml
requirements.pip