Open
Bug 1884318
Opened 2 years ago
Updated 1 year ago
Speedup mach's preprocessor starting time
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
preprocessor.py is run several times for tasks that block the execution of webidl.py, which is a bottleneck for the export phase. These tasks are quite small but spend two thirds of their time importing the same packages.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium!
| Assignee | ||
Comment 2•2 years ago
|
||
It is costly to discover topobjdir when parent process knows it. So set
an environment variable inherited by child process and use it for
discovery when available
Updated•2 years ago
|
Attachment #9391122 -
Attachment description: Bug 1884318 - Communicate topobdir to child process through env r=glandium → Bug 1884318 - Communicate topobjdir to child process through env r=glandium
Updated•2 years ago
|
Attachment #9391122 -
Attachment description: Bug 1884318 - Communicate topobjdir to child process through env r=glandium → Bug 1884318 - Have preprocessor.py read topobjdir from CLI r=glandium
Updated•2 years ago
|
Attachment #9391122 -
Attachment description: Bug 1884318 - Have preprocessor.py read topobjdir from CLI r=glandium → Bug 1884318 - Have preprocessor.py optionally read topobjdir from CLI r=glandium
Updated•2 years ago
|
Attachment #9391122 -
Attachment description: Bug 1884318 - Have preprocessor.py optionally read topobjdir from CLI r=glandium → Bug 1884318 - Have preprocessor.py optionally read topobjdir from CLI r=glandium!
Updated•2 years ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium! → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium
Updated•1 year ago
|
Attachment #9391122 -
Attachment is obsolete: true
Updated•1 year ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium!
Updated•1 year ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium! → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium
Updated•1 year ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium!
Updated•1 year ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium! → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium
Updated•1 year ago
|
Attachment #9390106 -
Attachment description: Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium → Bug 1884318 - Speedup preprocessor.py startup by restructuring imports r=glandium!
You need to log in
before you can comment on or make changes to this bug.
Description
•