Closed
Bug 1588935
Opened 5 years ago
Closed 5 years ago
|mach test-info report| can be very slow
Categories
(Testing :: General, enhancement, P2)
Tracking
(firefox71 fixed)
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: gbrown, Assigned: gbrown)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
'mach test-info report ...' can take a long time (minutes). It would be nice if it completed faster (and I think I found a good optimization).
Assignee | ||
Comment 1•5 years ago
|
||
The mozbuild reader is created and queried for every test and every manifest, in order to find the associated bug component. At a low level, I noticed that ends up loading .mozbuild files and manifests (at least reftest manifests) over and over again. Calling files_info() just once or twice with a list of files seems to help quite a lot.
Blocks: 1577302
Assignee | ||
Comment 2•5 years ago
|
||
Pull calls to mozbuild_reader().files_info() out of loops, instead passing
all the paths of interest at once.
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67006875213e Improve efficiency of 'mach test-info report'; r=bc
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•