diff options
author | Connor Imes <connor.k.imes@gmail.com> | 2016-11-17 19:36:58 -0800 |
---|---|---|
committer | Connor Imes <connor.k.imes@gmail.com> | 2016-11-17 19:36:58 -0800 |
commit | 263278a4dcc95403625d19dc75bdd969008fd7bf (patch) | |
tree | 8f7137d28bf0f36619bd3bfb5a9495293405112f /components/profile/heartbeats.rs | |
parent | 889b9ad3f05da1a02275b9c2c6a2b7386136a8b2 (diff) | |
download | servo-263278a4dcc95403625d19dc75bdd969008fd7bf.tar.gz servo-263278a4dcc95403625d19dc75bdd969008fd7bf.zip |
Update profiler logging with current ProfilerCategory enum values
Diffstat (limited to 'components/profile/heartbeats.rs')
-rw-r--r-- | components/profile/heartbeats.rs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/components/profile/heartbeats.rs b/components/profile/heartbeats.rs index 5769939843b..7579e6f3a39 100644 --- a/components/profile/heartbeats.rs +++ b/components/profile/heartbeats.rs @@ -30,9 +30,13 @@ pub fn init() { maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutTreeBuilder); maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutDamagePropagate); maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutGeneratedContent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutDisplayListSorting); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutFloatPlacementSpeculation); maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutMain); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutStoreOverflow); maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutParallelWarmup); maybe_create_heartbeat(&mut hbs, ProfilerCategory::LayoutDispListBuild); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::NetHTTPRequestResponse); maybe_create_heartbeat(&mut hbs, ProfilerCategory::PaintingPerTile); maybe_create_heartbeat(&mut hbs, ProfilerCategory::PaintingPrepBuff); maybe_create_heartbeat(&mut hbs, ProfilerCategory::Painting); @@ -43,16 +47,24 @@ pub fn init() { maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptDevtoolsMsg); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptDocumentEvent); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptDomEvent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptEvaluate); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptEvent); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptFileRead); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptImageCacheMsg); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptInputEvent); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptNetworkEvent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptParseHTML); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptPlannedNavigation); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptResize); - maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptEvent); - maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptUpdateReplacedElement); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptSetScrollState); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptSetViewport); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptTimerEvent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptStylesheetLoad); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptUpdateReplacedElement); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptWebSocketEvent); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptWorkerEvent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptServiceWorkerEvent); + maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptParseXML); maybe_create_heartbeat(&mut hbs, ProfilerCategory::ApplicationHeartbeat); unsafe { HBS = Some(mem::transmute(Box::new(hbs))); |