mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -68,7 +68,7 @@ pub fn traverse_dom<E, D>(traversal: &D,
|
|||
// Dump statistics to stdout if requested.
|
||||
if dump_stats {
|
||||
let tlsc = tlc.borrow_mut();
|
||||
tlsc.statistics.compute_traversal_time(start_time.unwrap());
|
||||
tlsc.statistics.finish(traversal, start_time.unwrap());
|
||||
println!("{}", tlsc.statistics);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue