Consider adding a debug pref to turn off flexbox optimization
Categories
(Core :: Layout: Flexbox, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(1 file)
I feel we often force the flex item's final reflow as a common trick when investigating flexbox sizing issues.
Daniel, do you feel it's worth landing your patch in bug 1747024 comment 9 permanently? An extra if in FlexItem::NeedsFinalReflow shouldn't impact the performance, and can also be useful to webcompat teams. If yes, I can work on a patch using StaticPref.
Comment 2•4 years ago
|
||
Yes, that seems like a useful diagnostic tool. Thanks for volunteering to work on a patch to add it!
Name-wise, we should make sure it's not something that users would feel tempted to toggle if they go poking around about:config looking to do their own performance-tuning.
Comment 3•4 years ago
|
||
(In particular, my layout.css.flex.perf.cache-final-reflow.disabled naming in bug 1747024's diagnostic patch is a bit clunky.)
Maybe better: layout.css.flex.skip-final-reflow.enabled
(Or s/skip/optimize-away/ perhaps -- a bit longer, but a bit clearer about "true" being the good/default setting.)
| Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
| bugherder | ||
Description
•