Closed Bug 1949143 Opened 9 months ago Closed 8 months ago

Too much time is spent reading test manifests during configure

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox138 fixed)

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: florian, Assigned: sergesanspaille)

References

Details

Attachments

(1 file)

See this profile filtered on "testmanifest" https://share.firefox.dev/3EGAuga showing 892 samples (so at least 892ms). Filtering for "toml" shows 699 samples (https://share.firefox.dev/40XnWII).

Severity: -- → S4

tomllib is part of the standard library since python 3.11 and parses
toml faster then the third-party toml package.

Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Attachment #9467109 - Attachment description: Bug 1949143 - Use tomllib instead of toml for faster parsing during configure r=florian → Bug 1949143 - Use tomllib instead of toml for faster parsing during configure r=florian!
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa3fe5e40307 Use tomllib instead of toml for faster parsing during configure r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

Since we're still on Python 3.8 for builds on CI, this only benefitted local builds.

I wonder: could we integrate rtoml, which is even faster than tomllib, and use it both in CI and for local builds? See bug 1861626.

See Also: → 1861626
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: