mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Add Gecko profiler labels for when the style threads are doing work.
Differential Revision: https://phabricator.services.mozilla.com/D30869
This commit is contained in:
parent
8dc7a25893
commit
3a22bb6c49
6 changed files with 112 additions and 0 deletions
|
@ -134,6 +134,7 @@ pub fn traverse_dom<E, D>(
|
|||
let drain = discovered.drain(..);
|
||||
pool.install(|| {
|
||||
rayon::scope(|scope| {
|
||||
profiler_label!(Style);
|
||||
parallel::traverse_nodes(
|
||||
drain,
|
||||
DispatchMode::TailCall,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue