Closed
Bug 1318432
Opened 8 years ago
Closed 8 years ago
Make it possible to switch on rust-url at runtime
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: manishearth, Assigned: valentin)
References
Details
(Whiteboard: [necko-active])
Attachments
(1 file)
8.16 KB,
patch
|
bagder
:
review+
|
Details | Diff | Splinter Review |
Currently, if MOZ_RUST_URLPARSE is set, each nsStandardURL will contain a mirror RustURL. When parsing/setting, the method is run on both. If there are mismatches when getting, the mismatch is reported via MOZ_LOG. The inline MOZ_RUST_URLPARSE_FALLBACK define controls whether or not to fall back to the nsStandardURL value when there is a mismatch. It is enabled by default, but can be disabled to get an idea of what tests will fail with RustURL. We should have a runtime pref that controls the fallback.
Assignee | ||
Comment 1•8 years ago
|
||
MozReview-Commit-ID: 3BfqFWIpS7F
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → valentin.gosu
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8812762 [details] [diff] [review] Make it possible to switch on rust-url at runtime Review of attachment 8812762 [details] [diff] [review]: ----------------------------------------------------------------- This patch adds a runtime pref to enable the rust parser. It defaults to false as we have discovered several regressions (both crashes and performance) caused by bug 1151899.
Attachment #8812762 -
Flags: review?(daniel)
Assignee | ||
Updated•8 years ago
|
Updated•8 years ago
|
Attachment #8812762 -
Flags: review?(daniel) → review+
Assignee | ||
Comment 3•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0b9b15761f64
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/688a4bbf801804c595cd47f316501f437390c9cd Bug 1318432 - Make it possible to switch on rust-url at runtime r=bagder
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/688a4bbf8018
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 6•8 years ago
|
||
it appears that this change caused many performance improvements: https://treeherder.mozilla.org/perf.html#/alerts?id=4261
Reporter | ||
Comment 7•8 years ago
|
||
More accurately, it fixed a perf regression caused by https://bugzilla.mozilla.org/show_bug.cgi?id=1151899 :)
You need to log in
before you can comment on or make changes to this bug.
Description
•