mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Move overflow calculation to be a separate, sequential,
bottom-up pass. Right now, the only reason that overflow calculation works is that we rely on script inducing extra reflows that are sent for display. This was preventing #10021 from landing. This change regresses layout performance by about 1% in my tests. Fixes #7797 properly.
This commit is contained in:
parent
2d6283c64b
commit
5ea8c34276
7 changed files with 60 additions and 17 deletions
|
@ -60,6 +60,7 @@ impl Formattable for ProfilerCategory {
|
|||
ProfilerCategory::LayoutGeneratedContent |
|
||||
ProfilerCategory::LayoutDisplayListSorting |
|
||||
ProfilerCategory::LayoutMain |
|
||||
ProfilerCategory::LayoutStoreOverflow |
|
||||
ProfilerCategory::LayoutDispListBuild |
|
||||
ProfilerCategory::LayoutDamagePropagate |
|
||||
ProfilerCategory::PaintingPerTile |
|
||||
|
@ -83,6 +84,7 @@ impl Formattable for ProfilerCategory {
|
|||
ProfilerCategory::LayoutDisplayListSorting => "Sorting Display List",
|
||||
ProfilerCategory::LayoutGeneratedContent => "Generated Content Resolution",
|
||||
ProfilerCategory::LayoutMain => "Primary Layout Pass",
|
||||
ProfilerCategory::LayoutStoreOverflow => "Store Overflow",
|
||||
ProfilerCategory::LayoutParallelWarmup => "Parallel Warmup",
|
||||
ProfilerCategory::LayoutDispListBuild => "Display List Construction",
|
||||
ProfilerCategory::PaintingPerTile => "Painting Per Tile",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue