This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: "Deep-freeze": skip the marshal step by generating C code
Type: Stage: patch review
Components: Interpreter Core Versions: Python 3.11
Status: open Resolution:
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: christian.heimes, eric.snow, gvanrossum
Priority: normal Keywords: patch

Created on 2021-11-03 00:16 by gvanrossum, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 29118 merged gvanrossum, 2021-11-03 00:17
PR 29522 closed christian.heimes, 2021-11-11 13:02
Messages (3)
msg405570 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-03 00:16

This appears to improve startup time by another 10% or more compared to main.
msg406131 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-10 19:57
After PR 29118 is merged we get the benefits on UNIXy systems. We have several TODOs left then:

- (Definitely:) Generate Windows build files

- (Probably:) Find a way to avoid having to regenerate everything whenever any source file changes (any source file -> _bootstrap_python -> all generated files)

- (Maybe:) Consider putting all generated code together in one file, for more savings (and build simplification)
msg406142 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-11 02:02
New changeset 1cbaa505d007e11c4a1f0d2073d72b6c02c7147c by Guido van Rossum in branch 'main':
bpo-45696: Deep-freeze selected modules (GH-29118)
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 89859
2021-12-01 16:26:54christian.heimeslinkissue45950 dependencies
2021-11-11 13:02:53christian.heimessetnosy: + christian.heimes
pull_requests: + pull_request27772
2021-11-11 02:02:10gvanrossumsetmessages: + msg406142
2021-11-10 19:57:38gvanrossumsetmessages: + msg406131
2021-11-03 00:54:20eric.snowsetnosy: + eric.snow
2021-11-03 00:17:04gvanrossumsetkeywords: + patch
stage: patch review
pull_requests: + pull_request27637
2021-11-03 00:16:36gvanrossumcreate