Open
Bug 1183163
Opened 6 years ago
Updated 16 days ago
Investigate CSS flex performance issues compared to XUL flexbox
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | affected |
People
(Reporter: bzbarsky, Assigned: dholbert, NeedInfo)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [layout:backlog:2020])
Attachments
(2 files)
|
595 bytes,
patch
|
Details | Diff | Splinter Review | |
|
599 bytes,
patch
|
Details | Diff | Splinter Review |
Neil Deakin has a blog post at https://enndeakin.wordpress.com/2015/07/13/comparing-flexible-box-layouts/ with some charts, but no links to testcases. Getting those testcases attached here would be useful.
Flags: needinfo?(enndeakin)
Flags: needinfo?(dholbert)
| Assignee | ||
Comment 1•6 years ago
|
||
Neil, if you have a patch-stack that CSS-flexifies a mozilla-central build (and reproduces the issues documented in your blog post), I'd love to work with that patch-stack locally & see what I can find.
Flags: needinfo?(dholbert)
| Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1) > Neil, if you have a patch-stack that CSS-flexifies a mozilla-central build Ah, turns out this was simpler than I expected; I just tried adding a line to the end of browser.css, per the end of https://enndeakin.wordpress.com/ , and was able to trigger some pathological slowness.
| Assignee | ||
Comment 3•6 years ago
|
||
This patch triggers the pathological case discussed at the end of Neil's blogpost -- it makes startup take ages (I waited several minutes with 100% CPU and still hadn't seen a window yet).
| Assignee | ||
Comment 4•6 years ago
|
||
For comparison, here's a patch to make everything -moz-box instead of flex. With this, startup is pretty quick.
| Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(enndeakin) → needinfo?(dholbert)
| Assignee | ||
Updated•6 years ago
|
Attachment #8641927 -
Attachment description: demo-patch #1: make everything display:flex, in browser.css → demo-patch #1: make everything display:flex, in browser.css [SLOW]
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dholbert
| Assignee | ||
Updated•5 years ago
|
Blocks: flexbox-perf-issues
Updated•2 years ago
|
Whiteboard: [layout:backlog:2019q3]
Updated•1 year ago
|
Whiteboard: [layout:backlog:2019q3] → [layout:backlog:2020]
You need to log in
before you can comment on or make changes to this bug.
Description
•