Set titlebar state early to avoid further mShell/mContainer window reparent
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert)
Attachments
(1 file)
Set titlebar state early to avoid further mShell/mContainer window reparent.
| Assignee | ||
Comment 1•2 years ago
|
||
Comment 3•2 years ago
|
||
| bugherder | ||
Comment 4•2 years ago
|
||
This change gives me windows without a title bar in Thunderbird. Not the main window where we draw our own title bar, but things like the Developer Toolbox and Compose windows.
| Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
(In reply to Pulsebot from comment #2)
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/a28fc8d4ff32
[Linux] Call nsWindow::SetDrawsInTitlebar() early to avoid mShell/Container
widget reparent r=emilio
== Change summary for alert #39560 (as of Fri, 15 Sep 2023 18:44:43 GMT) ==
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 59% | tp5o XRes | linux1804-64-shippable-qr | e10s fission stylo webrender | 2,654,861.48 -> 1,085,148.60 |
| 59% | tp5o_webext XRes | linux1804-64-shippable-qr | e10s fission stylo webrender | 2,654,860.65 -> 1,085,000.20 |
| 59% | tp5o_webext XRes | linux1804-64-shippable-qr | e10s fission stylo webrender | 2,654,270.80 -> 1,084,932.50 |
| 3% | tresize | linux1804-64-shippable-qr | e10s fission stylo webrender | 31.96 -> 31.06 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39560
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
(In reply to Andrej Glavic (:aglavic) from comment #5)
(In reply to Pulsebot from comment #2)
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/a28fc8d4ff32
[Linux] Call nsWindow::SetDrawsInTitlebar() early to avoid mShell/Container
widget reparent r=emilio== Change summary for alert #39560 (as of Fri, 15 Sep 2023 18:44:43 GMT) ==
Improvements:
Ratio Test Platform Options Absolute values (old vs new) 59% tp5o XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,861.48 -> 1,085,148.60 59% tp5o_webext XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,860.65 -> 1,085,000.20 59% tp5o_webext XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,270.80 -> 1,084,932.50 3% tresize linux1804-64-shippable-qr e10s fission stylo webrender 31.96 -> 31.06 For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39560
Do I understand correctly that it comes with significant performance gain? Can you give me more info what the test actually check? I may consider to use some narrowed optimized variant of the patch if it's so significant gain here.
Thanks.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #6)
(In reply to Andrej Glavic (:aglavic) from comment #5)
(In reply to Pulsebot from comment #2)
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/a28fc8d4ff32
[Linux] Call nsWindow::SetDrawsInTitlebar() early to avoid mShell/Container
widget reparent r=emilio== Change summary for alert #39560 (as of Fri, 15 Sep 2023 18:44:43 GMT) ==
Improvements:
Ratio Test Platform Options Absolute values (old vs new) 59% tp5o XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,861.48 -> 1,085,148.60 59% tp5o_webext XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,860.65 -> 1,085,000.20 59% tp5o_webext XRes linux1804-64-shippable-qr e10s fission stylo webrender 2,654,270.80 -> 1,084,932.50 3% tresize linux1804-64-shippable-qr e10s fission stylo webrender 31.96 -> 31.06 For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39560
Do I understand correctly that it comes with significant performance gain? Can you give me more info what the test actually check? I may consider to use some narrowed optimized variant of the patch if it's so significant gain here.
Thanks.
Hi :stransky
This ticket caused 1852918 which because of not displaying the title bar, artificially improved the metrics
See my comment in 1853972 which was initially identified as a regression but just brought back the metric to it's expected value
Sorry for the confusion
Description
•