8000 GH-130090: build time analysis by chris-eibl · Pull Request #131005 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-130090: build time analysis #131005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
859c89f
minimal changes needed for PGO with clang-cl
chris-eibl Feb 9, 2025
a529c39
like for MSVC, don't use link time optimization
chris-eibl Feb 9, 2025
26fb51f
Do not build _freeze_module twice in case of PGO
chris-eibl Feb 9, 2025
6e2cb69
remove /arch:AVX for blake2module.c again
chris-eibl Feb 10, 2025
7b46aeb
Revert "Do not build _freeze_module twice in case of PGO"
chris-eibl Feb 10, 2025
ced66bd
always clean the profile directory when doing a new clang PGO build
chris-eibl Feb 10, 2025
1aae65d
Merge remote-tracking branch 'origin/main' into clang-pgo
chris-eibl Feb 11, 2025
52fd5ab
Merge branch 'main' into clang-pgo
chris-eibl Feb 13, 2025
c2ecb57
blurb it
chris-eibl Feb 13, 2025
ad72df5
Adding myself to ACKS
chris-eibl Feb 13, 2025
74ec74e
extract pyproject-clangcl.props
chris-eibl Feb 13, 2025
79ce418
Merge branch 'python:main' into clang-pgo
chris-eibl Feb 16, 2025
8c8aa79
move MergeClangProfileData to pyproject-clangcl.props
chris-eibl Feb 16, 2025
2a9da27
rename RequirePGCFiles to RequireProfileData
chris-eibl Feb 16, 2025
ea4de96
Apply suggestions from code review
chris-eibl Feb 18, 2025
3346b9d
Use -Wno-profile-instr-unprofiled in the PGUpdate case
chris-eibl Feb 18, 2025
9db1a29
introduce CLANG_PROFILE_PATH
chris-eibl Feb 19, 2025
0e6f95f
add build time analysis
chris-eibl Mar 9, 2025
0bd337d
Interestingly, for debug builds I now need this, too.
chris-eibl Mar 9, 2025
981210b
fix for older clangs
chris-eibl Mar 9, 2025
e1dfc39
use -flto=thin
chris-eibl Mar 9, 2025
9879c49
remove debug print
chris-eibl Mar 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove debug print
  • Loading branch information
chris-eibl committed Mar 9, 2025
commit 9879c49e885fa33116d0b4db05a0af19c56b51d6
1 change: 0 additions & 1 deletion PCbuild/analyse_build_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ def dump_details(builds, args):
'filenames', metavar='build_log.txt', type=str, nargs='*',
help='Build logs to process. Defaults to globbing build_*.txt')
args = parser.parse_args()
print(args)
if len(args.filenames) == 0:
filenames = sorted(glob.glob("build_*.txt"))
elif len(args.filenames) == 1:
Expand Down
0