bpo-43166: Disable ceval.c optimizations for Windows debug builds again by neonene · Pull Request #32023 · python/cpython
Debug builds' optimization could be reconsidered as 3.11a6+ has reduced the stack usage. Disabling on MSVC should fix the build performance regression and make ceval.c debuggable.
test_xml_etree, which is the top stack consumer among 17 tests mentioned in bpo-43271, requires the following bytes:
| Optimization | x64 | x86 |
|---|---|---|
| Enabled (/Og /Ot) | 1,100,000 | 500,000 |
| Disabled | 3,900,000 | 2,300,000 |
They include 200,000 bytes usage with /Ob1 (OnlyExplicitInline) option introduced by #10094 for running performance.