mirror of https://github.com/python/cpython
164a017e13
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 |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
ast_dump.py | ||
build.py | ||
c_generator.py | ||
first_sets.py | ||
grammar.py | ||
grammar_parser.py | ||
grammar_visualizer.py | ||
keywordgen.py | ||
metagrammar.gram | ||
parser.py | ||
parser_generator.py | ||
python_generator.py | ||
sccutils.py | ||
testutil.py | ||
tokenizer.py | ||
validator.py |