Closed
Bug 1061947
Opened 11 years ago
Closed 11 years ago
Avoid flushing layout and making it dirty repeatedly in ToolbarIconColor.inferFromText
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: perf)
Attachments
(1 file)
|
1.05 KB,
patch
|
Gijs
:
review+
lmandel
:
approval-mozilla-aurora+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Preliminary testing suggests that this cuts off about half of the performance regression filed as bug 1015572.
Attachment #8483037 -
Flags: review?(gijskruitbosch+bugs)
Flags: firefox-backlog+
Comment 1•11 years ago
|
||
Comment on attachment 8483037 [details] [diff] [review]
patch
Review of attachment 8483037 [details] [diff] [review]:
-----------------------------------------------------------------
rs=me
I wondered (but didn't check) if we could save the remainder of the perf impact here by persisting the attribute. As it's a tpaint regression and we'll measure the first window, we should have it right from the get-go for all the successive windows. I would expect the theme to not change frequently, so I think this should be a net win "in the real world", too.
Attachment #8483037 -
Flags: review?(gijskruitbosch+bugs) → review+
Updated•11 years ago
|
Flags: qe-verify?
| Assignee | ||
Comment 2•11 years ago
|
||
Flags: qe-verify? → qe-verify-
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8483037 [details] [diff] [review]
patch
Approval Request Comment
[Feature/regressing bug #]: bug 1012629
[User impact if declined]: a startup performance regression
[Describe test coverage new/current, TBPL]: not covered by tests
[Risks and why]: pretty simple and very isolated fix, not risky
[String/UUID change made/needed]: none
Attachment #8483037 -
Flags: approval-mozilla-beta?
Attachment #8483037 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•11 years ago
|
status-firefox32:
--- → wontfix
status-firefox33:
--- → affected
status-firefox34:
--- → affected
status-firefox35:
--- → fixed
Comment 5•11 years ago
|
||
Comment on attachment 8483037 [details] [diff] [review]
patch
I like perf fixes. Especially those that have been on m-c for a week without know bustage. Beta+ and Aurora+
Attachment #8483037 -
Flags: approval-mozilla-beta?
Attachment #8483037 -
Flags: approval-mozilla-beta+
Attachment #8483037 -
Flags: approval-mozilla-aurora?
Attachment #8483037 -
Flags: approval-mozilla-aurora+
Comment 6•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•