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:
Cameron McCormack 2019-05-14 05:00:45 +00:00 committed by Emilio Cobos Álvarez
parent 8dc7a25893
commit 3a22bb6c49
6 changed files with 112 additions and 0 deletions

View file

@ -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,