Closed
Bug 1107259
Opened 9 years ago
Closed 9 years ago
Remove the sync IPC getDPI() and getDefaultScale() during app startup (~15ms).
Categories
(Firefox OS Graveyard :: Performance, defect)
Tracking
(feature-b2g:2.2+)
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
Attachments
(1 file)
6.23 KB,
patch
|
sinker
:
review+
|
Details | Diff | Splinter Review |
This is technically a subset of 835679. This patch sends dpi and defaultScale in the SendShow() call along with other initialization data.
Assignee | ||
Updated•9 years ago
|
Attachment #8531730 -
Flags: review?(tlee)
Assignee | ||
Comment 1•9 years ago
|
||
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=28fbaad4337e
Updated•9 years ago
|
Blocks: AppStartup
Updated•9 years ago
|
Summary: Remove the sync IPC getDPI() and getDefaultScale() during app startup. → Remove the sync IPC getDPI() and getDefaultScale() during app startup (~15ms).
Comment 2•9 years ago
|
||
Comment on attachment 8531730 [details] [diff] [review] getdpi.patch Review of attachment 8531730 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/ipc/TabParent.cpp @@ +2028,5 @@ > widget = nsContentUtils::WidgetForDocument(mFrameElement->OwnerDoc()); > } > > if (widget) { > + printf_stderr("XXX TryCacheDPIAndScale parent=%p widget=%p\n", this, widget.get()); Do you remove this debug message? ::: widget/gonk/nsWindow.cpp @@ +557,5 @@ > > float > nsWindow::GetDPI() > { > + printf_stderr("XXX gonk nsWindow::GetDPI() %p\n", this); Do you remove this debug message?
Updated•9 years ago
|
Attachment #8531730 -
Flags: review?(tlee) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/beac475d3863
https://hg.mozilla.org/mozilla-central/rev/beac475d3863
Assignee: nobody → fabrice
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S2 (19dec)
Updated•9 years ago
|
feature-b2g: --- → 2.2?
Updated•9 years ago
|
feature-b2g: 2.2? → 2.2+
Updated•9 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
You need to log in
before you can comment on or make changes to this bug.
Description
•