mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Add the traversal kind to the style stats.
This commit is contained in:
parent
d3e7f1f0f4
commit
58c6aad1f0
3 changed files with 16 additions and 3 deletions
|
@ -86,7 +86,7 @@ pub fn traverse_dom<E, D>(traversal: &D,
|
|||
Some(ref cx) => &cx.borrow().statistics + &acc,
|
||||
}
|
||||
});
|
||||
aggregate.compute_traversal_time(start_time.unwrap());
|
||||
aggregate.finish(traversal, start_time.unwrap());
|
||||
println!("{}", aggregate);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue