Closed
Bug 1128489
Opened 10 years ago
Closed 10 years ago
Use direct call between SettingsService and SettingsRequestManager
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
| Tracking | Status | |
|---|---|---|
| firefox38 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 1 obsolete file)
|
11.51 KB,
patch
|
gerard-majax
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1124622 +++
One of the reason of the latency at boot time documented in bug 1124622 comes from the way communication is done between SettingsService and SettingsRequestManager: via async messaging.
This makes messages taking quite some time to be delivered. Figures shows that we can win 3-4 secs on boot time (from gecko startup to calling shell.start()) by changing the communication and make it direct between both objects rather than making use of SendAsyncMessage/ReceiveMessage.
Kyle, I know this is breaking your heart and that you wanted to have a consistent way of communicating for SettingsManager and SettingsService, so do you agree on the idea of changing this communication ?
We should be allowed to do this because those two components do live in the same process.
Flags: needinfo?(kyle)
| Assignee | ||
Updated•10 years ago
|
Summary: Use direct call betweek SettingsService and SettingsRequestManager → Use direct call between SettingsService and SettingsRequestManager
| Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Oh, yeah, go for it. Consistency was nice but speed is important, and gwagner and I have discussed doing far worse things now too. :)
Flags: needinfo?(kyle)
| Assignee | ||
Comment 3•10 years ago
|
||
Updated•10 years ago
|
Attachment #8557957 -
Flags: review+
| Assignee | ||
Comment 4•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
Updated the patch: I've noticed that unregisterLock() was done before we received the Settings:Finalize:OK message, so I've moved it a little bit.
Matching try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=dacfd3573f11
Flags: needinfo?(kyle)
| Assignee | ||
Updated•10 years ago
|
Attachment #8557957 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8558446 -
Flags: review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•10 years ago
|
Whiteboard: [systemsfe]
You need to log in
before you can comment on or make changes to this bug.
Description
•