Bug 1634437 Comment 6 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The Gtk version of `nsLookAndFeel::EnsureInit` is definitely more heavyweight than the other themes.  It creates a bunch of widget just to look up a bunch of default styling information.

Sean, can you capture a profile with `widget.disable-native-theme-for-content` enabled?  If there's still significant time being spent looking up system colors and so on, we could investigate whether it can be done lazily, but hopefully it's quick, and we can rely on bug 1411425 avoiding the bulk of the overhead.
The Gtk version of `nsLookAndFeel::EnsureInit` is definitely more heavyweight than the other themes.  It creates a bunch of widgets just to look up a bunch of default styling information.

Sean, can you capture a profile with `widget.disable-native-theme-for-content` enabled?  If there's still significant time being spent looking up system colors and so on, we could investigate whether it can be done lazily, but hopefully it's quick, and we can rely on bug 1411425 avoiding the bulk of the overhead.
The Gtk version of `nsLookAndFeel::EnsureInit` is definitely more heavyweight than the other themes.  It creates a bunch of widgets just to look up various default styling information.

Sean, can you capture a profile with `widget.disable-native-theme-for-content` enabled?  If there's still significant time being spent looking up system colors and so on, we could investigate whether it can be done lazily, but hopefully it's quick, and we can rely on bug 1411425 avoiding the bulk of the overhead.

Back to Bug 1634437 Comment 6