Closed
Bug 1355630
Opened 7 years ago
Closed 7 years ago
Performance improvements to files info resolution
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: gps, Assigned: gps)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
Bug 1352495 is doing some things that is finding all of the algorithmic inefficiencies in files metadata reading code. Let's make some tweaks to help with performance.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Product: Calendar → Core
Updated•7 years ago
|
Flags: needinfo?(gps)
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8857241 [details] Bug 1355630 - Use a set for membership testing; https://reviewboard.mozilla.org/r/129182/#review132218
Attachment #8857241 -
Flags: review?(cmanchester) → review+
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8857242 [details] Bug 1355630 - Extract set declaration to member variable; https://reviewboard.mozilla.org/r/129184/#review132222 ::: python/mozbuild/mozbuild/frontend/reader.py:1403 (Diff revision 1) > - test_manifest_contexts = set( > + TEST_MANIFEST_CONTEXTS = set( > - ['%s_MANIFESTS' % key for key in TEST_MANIFESTS] + > + ['%s_MANIFESTS' % key for key in TEST_MANIFESTS] + > - ['%s_MANIFESTS' % flavor.upper() for flavor in REFTEST_FLAVORS] + > + ['%s_MANIFESTS' % flavor.upper() for flavor in REFTEST_FLAVORS] + > - ['%s_MANIFESTS' % flavor.upper().replace('-', '_') for flavor in WEB_PLATFORM_TESTS_FLAVORS] > + ['%s_MANIFESTS' % flavor.upper().replace('-', '_') for flavor in > + WEB_PLATFORM_TESTS_FLAVORS] > - ) > + ) > > + def test_defaults_for_path(self, ctxs): Adding this global is kinda ugly. This is the only patch here that doesn't have timings in the commit message... what's the actual overhead?
Attachment #8857242 -
Flags: review?(cmanchester)
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8857243 [details] Bug 1355630 - Memoize tests_defaults_for_path call; https://reviewboard.mozilla.org/r/129186/#review132226
Attachment #8857243 -
Flags: review?(cmanchester) → review+
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8857244 [details] Bug 1355630 - Inline specialized version of relpath(); https://reviewboard.mozilla.org/r/129188/#review132232
Attachment #8857244 -
Flags: review?(cmanchester) → review+
Assignee | ||
Comment 12•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8857242 [details] Bug 1355630 - Extract set declaration to member variable; https://reviewboard.mozilla.org/r/129184/#review132222 > Adding this global is kinda ugly. This is the only patch here that doesn't have timings in the commit message... what's the actual overhead? I'll just drop this patch. I don't think it matters too much.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8857242 -
Attachment is obsolete: true
Comment 15•7 years ago
|
||
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c3af9177e369 Use a set for membership testing; r=chmanchester https://hg.mozilla.org/integration/autoland/rev/e9e8c13f08ad Memoize tests_defaults_for_path call; r=chmanchester https://hg.mozilla.org/integration/autoland/rev/d9a08a6f56c9 Inline specialized version of relpath(); r=chmanchester
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c3af9177e369 https://hg.mozilla.org/mozilla-central/rev/e9e8c13f08ad https://hg.mozilla.org/mozilla-central/rev/d9a08a6f56c9
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•