FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-43166: Disable ceval.c optimizations for Windows debug builds again by neonene · Pull Request #32023 · python/cpython · GitHub

/ cpython Public

bpo-43166: Disable ceval.c optimizations for Windows debug builds again - #32023

Merged
zooba merged 10 commits into
python:mainfrom
neonene:bpo-43166
Mar 23, 2022
Merged

bpo-43166: Disable ceval.c optimizations for Windows debug builds again#32023
zooba merged 10 commits into
python:mainfrom
neonene:bpo-43166

Conversation

neonene commented Mar 21, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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.

https://bugs.python.org/issue43166

neonene commented Mar 21, 2022

Copy link
Copy Markdown
Contributor Author

Small improvement on GitHub test machines.

Build time x64 x86
before (e63894b) 3:15.28 3:10.90
This (1ebe5f4 ) 2:54.56 2:29.58

Comment thread Include/pyport.h Outdated
Comment thread PCbuild/_freeze_module.vcxproj Outdated
zooba merged commit cd05d0a into python:main Mar 23, 2022

neonene commented Mar 23, 2022

Copy link
Copy Markdown
Contributor Author

Thanks!

neonene deleted the bpo-43166 branch March 23, 2022 01:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL