Closed Bug 897626 Opened 11 years ago Closed 11 years ago

Investigate performance impact of non-autohiding menubar on Windows XP

Categories

(Firefox :: Toolbars and Customization, defect)

All
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jaws, Assigned: jaws)

References

Details

Attachments

(1 file)

Windows XP suffers from a higher tpaint cost than the other Windows versions. One of the key differences is the presence of the visible menubar, whereas Vista and 7 autohide the menubar by default.

I'm not sure why we are keeping the menubar visible on XP now that we have switched away from the orange Firefox button.

The attached patch should keep the menubar autohidden on all Windows platforms.
(In reply to Jared Wein [:jaws] from comment #0)
> Windows XP suffers from a higher tpaint cost than the other Windows
> versions. One of the key differences is the presence of the visible menubar,
> whereas Vista and 7 autohide the menubar by default.

Of course that wouldn't explain the tpaint regression on the UX branch compared to m-c, as the menu bar is visible on m-c too.

Considering how autohiding works, I'm also skeptical that it makes significant a difference for tpaint, but I guess you try run will clarify that.

> I'm not sure why we are keeping the menubar visible on XP now that we have
> switched away from the orange Firefox button.

See bug 879599.
Comment on attachment 780543 [details] [diff] [review]
897626.patch

The numbers that came back weren't conclusive enough to make this change worthwhile. Averaging the tpaint numbers they went from 147.8 to 152.4 (actually a decrease in performance).

Gijs, could I have done something wrong with this patch?
Attachment #780543 - Flags: feedback?(gijskruitbosch+bugs)
(In reply to Jared Wein [:jaws] from comment #5)
> Comment on attachment 780543 [details] [diff] [review]
> 897626.patch
> 
> The numbers that came back weren't conclusive enough to make this change
> worthwhile. Averaging the tpaint numbers they went from 147.8 to 152.4
> (actually a decrease in performance).
> 
> Gijs, could I have done something wrong with this patch?

I don't think so, it looks fine to me.
Attachment #780543 - Flags: feedback?(gijskruitbosch+bugs)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: