mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
try to reset flows which need reflow, since reflow isn't yet idempotent
This commit is contained in:
parent
d168501555
commit
f552e2f750
13 changed files with 310 additions and 82 deletions
|
@ -68,6 +68,8 @@ pub enum TimeProfilerCategory {
|
|||
CompositingCategory,
|
||||
LayoutPerformCategory,
|
||||
LayoutStyleRecalcCategory,
|
||||
LayoutRestyleDamagePropagation,
|
||||
LayoutNonIncrementalReset,
|
||||
LayoutSelectorMatchCategory,
|
||||
LayoutTreeBuilderCategory,
|
||||
LayoutDamagePropagateCategory,
|
||||
|
@ -86,6 +88,8 @@ impl Formatable for TimeProfilerCategory {
|
|||
fn format(&self) -> String {
|
||||
let padding = match *self {
|
||||
LayoutStyleRecalcCategory |
|
||||
LayoutRestyleDamagePropagation |
|
||||
LayoutNonIncrementalReset |
|
||||
LayoutMainCategory |
|
||||
LayoutDispListBuildCategory |
|
||||
LayoutShapingCategory |
|
||||
|
@ -99,6 +103,8 @@ impl Formatable for TimeProfilerCategory {
|
|||
CompositingCategory => "Compositing",
|
||||
LayoutPerformCategory => "Layout",
|
||||
LayoutStyleRecalcCategory => "Style Recalc",
|
||||
LayoutRestyleDamagePropagation => "Restyle Damage Propagation",
|
||||
LayoutNonIncrementalReset => "Non-incremental reset (temporary)",
|
||||
LayoutSelectorMatchCategory => "Selector Matching",
|
||||
LayoutTreeBuilderCategory => "Tree Building",
|
||||
LayoutDamagePropagateCategory => "Damage Propagation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue