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)

defect
Not set
normal
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 35
Iteration:
35.1
Tracking Status
firefox32 --- wontfix
firefox33 --- fixed
firefox34 --- fixed
firefox35 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

(Keywords: perf)

Attachments

(1 file)

Attached patch patchSplinter 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 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+
Flags: qe-verify?
Flags: qe-verify? → qe-verify-
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
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?
Blocks: 1012629
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+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: