Speedup session store serialization by ~25x
Categories
(Firefox for Android :: Browser Engine, defect)
Tracking
()
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
dmeehan
:
approval-mozilla-release-
|
Details | Review |
When serializing the session store information we were spending the bulk
of the time doing charset conversion because the JsonWriter writes a
character at a time and charset conversion has a large fixed overhead.
| Assignee | ||
Comment 1•2 years ago
|
||
When serializing the session store information we were spending the bulk
of the time doing charset conversion because the JsonWriter writes a
character at a time and charset conversion has a large fixed overhead.
| Assignee | ||
Comment 4•2 years ago
|
||
Comment on attachment 9406726 [details]
Bug 1901830 - Speedup session store serialization by ~25x
Beta/Release Uplift Approval Request
- User impact if declined: Saving session store can use up a significant amount of CPU time during tab switching. This is especially noticeable with sessions that are larger ~80+ tabs. During tab switch we have a lot of other important work to do so it's not a good time be wasting CPU.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's basically a one line fix that should have no functional differences. If it builds it's very likely to work.
- String changes made/needed:
- Is Android affected?: Yes
Comment 5•2 years ago
|
||
Comment on attachment 9406726 [details]
Bug 1901830 - Speedup session store serialization by ~25x
Approved for 128.0b4.
Updated•2 years ago
|
| Assignee | ||
Comment 7•2 years ago
|
||
Comment on attachment 9406726 [details]
Bug 1901830 - Speedup session store serialization by ~25x
Beta/Release Uplift Approval Request
- User impact if declined: Saving session store can use up a significant amount of CPU time during tab switching. This is especially noticeable with sessions that are larger ~80+ tabs. During tab switch we have a lot of other important work to do so it's not a good time be wasting CPU.
This isn't worth causing a dot release but if we decided to do one it would be nice to ride along.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's basically a one line fix that should have no functional differences. If it builds it's very likely to work. It's also baked in Nightly and Beta for a while.
- String changes made/needed:
- Is Android affected?: Yes
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Comment on attachment 9406726 [details]
Bug 1901830 - Speedup session store serialization by ~25x
Rejecting release uplift request. Fx128 merges to release on Monday 2024-07-01.
We don't have any Fx127 dot release planned before then.
Description
•