Closed Bug 1515901 Opened 6 years ago Closed 6 years ago

mozconfig is loaded multiple times when running mach help, making it extra slow on Windows

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

No description provided.
When running `mach help`, mozconfig is loaded multiple times, and even with an almost empty mozconfig, this makes mach help take close to 10 seconds on my Windows machine. With some memoization, the time to run mach help gets down to 2s.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/7212af915b68 Avoid loading mozconfig multiple times from MozbuildObject. r=froydnj
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: