mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
[NFC] Remove unused interval profiler events (#34285)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
0a849adfa1
commit
4a06dc53f6
2 changed files with 6 additions and 40 deletions
|
@ -76,19 +76,12 @@ impl Formattable for ProfilerCategory {
|
||||||
let padding = match *self {
|
let padding = match *self {
|
||||||
ProfilerCategory::LayoutStyleRecalc |
|
ProfilerCategory::LayoutStyleRecalc |
|
||||||
ProfilerCategory::LayoutRestyleDamagePropagation |
|
ProfilerCategory::LayoutRestyleDamagePropagation |
|
||||||
ProfilerCategory::LayoutNonIncrementalReset |
|
|
||||||
ProfilerCategory::LayoutGeneratedContent |
|
ProfilerCategory::LayoutGeneratedContent |
|
||||||
ProfilerCategory::LayoutDisplayListSorting |
|
|
||||||
ProfilerCategory::LayoutFloatPlacementSpeculation |
|
ProfilerCategory::LayoutFloatPlacementSpeculation |
|
||||||
ProfilerCategory::LayoutMain |
|
ProfilerCategory::LayoutMain |
|
||||||
ProfilerCategory::LayoutStoreOverflow |
|
ProfilerCategory::LayoutStoreOverflow |
|
||||||
ProfilerCategory::LayoutDispListBuild |
|
ProfilerCategory::LayoutDispListBuild |
|
||||||
ProfilerCategory::LayoutDamagePropagate |
|
|
||||||
ProfilerCategory::PaintingPerTile |
|
|
||||||
ProfilerCategory::PaintingPrepBuff => "+ ",
|
|
||||||
ProfilerCategory::LayoutParallelWarmup |
|
ProfilerCategory::LayoutParallelWarmup |
|
||||||
ProfilerCategory::LayoutSelectorMatch |
|
|
||||||
ProfilerCategory::LayoutTreeBuilder |
|
|
||||||
ProfilerCategory::LayoutTextShaping => "| + ",
|
ProfilerCategory::LayoutTextShaping => "| + ",
|
||||||
_ => "",
|
_ => "",
|
||||||
};
|
};
|
||||||
|
@ -98,22 +91,12 @@ impl Formattable for ProfilerCategory {
|
||||||
ProfilerCategory::LayoutStyleRecalc => "Style Recalc",
|
ProfilerCategory::LayoutStyleRecalc => "Style Recalc",
|
||||||
ProfilerCategory::LayoutTextShaping => "Text Shaping",
|
ProfilerCategory::LayoutTextShaping => "Text Shaping",
|
||||||
ProfilerCategory::LayoutRestyleDamagePropagation => "Restyle Damage Propagation",
|
ProfilerCategory::LayoutRestyleDamagePropagation => "Restyle Damage Propagation",
|
||||||
ProfilerCategory::LayoutNonIncrementalReset => "Non-incremental reset (temporary)",
|
|
||||||
ProfilerCategory::LayoutSelectorMatch => "Selector Matching",
|
|
||||||
ProfilerCategory::LayoutTreeBuilder => "Tree Building",
|
|
||||||
ProfilerCategory::LayoutDamagePropagate => "Damage Propagation",
|
|
||||||
ProfilerCategory::LayoutDisplayListSorting => "Sorting Display List",
|
|
||||||
ProfilerCategory::LayoutGeneratedContent => "Generated Content Resolution",
|
ProfilerCategory::LayoutGeneratedContent => "Generated Content Resolution",
|
||||||
ProfilerCategory::LayoutFloatPlacementSpeculation => "Float Placement Speculation",
|
ProfilerCategory::LayoutFloatPlacementSpeculation => "Float Placement Speculation",
|
||||||
ProfilerCategory::LayoutMain => "Primary Layout Pass",
|
ProfilerCategory::LayoutMain => "Primary Layout Pass",
|
||||||
ProfilerCategory::LayoutStoreOverflow => "Store Overflow",
|
ProfilerCategory::LayoutStoreOverflow => "Store Overflow",
|
||||||
ProfilerCategory::LayoutParallelWarmup => "Parallel Warmup",
|
ProfilerCategory::LayoutParallelWarmup => "Parallel Warmup",
|
||||||
ProfilerCategory::LayoutDispListBuild => "Display List Construction",
|
ProfilerCategory::LayoutDispListBuild => "Display List Construction",
|
||||||
ProfilerCategory::NetHTTPRequestResponse => "Network HTTP Request/Response",
|
|
||||||
ProfilerCategory::PaintingPerTile => "Painting Per Tile",
|
|
||||||
ProfilerCategory::PaintingPrepBuff => "Buffer Prep",
|
|
||||||
ProfilerCategory::Painting => "Painting",
|
|
||||||
ProfilerCategory::ImageDecoding => "Image Decoding",
|
|
||||||
ProfilerCategory::ImageSaving => "Image Saving",
|
ProfilerCategory::ImageSaving => "Image Saving",
|
||||||
ProfilerCategory::ScriptAttachLayout => "Script Attach Layout",
|
ProfilerCategory::ScriptAttachLayout => "Script Attach Layout",
|
||||||
ProfilerCategory::ScriptConstellationMsg => "Script Constellation Msg",
|
ProfilerCategory::ScriptConstellationMsg => "Script Constellation Msg",
|
||||||
|
@ -142,7 +125,6 @@ impl Formattable for ProfilerCategory {
|
||||||
ProfilerCategory::ScriptServiceWorkerEvent => "Script Service Worker Event",
|
ProfilerCategory::ScriptServiceWorkerEvent => "Script Service Worker Event",
|
||||||
ProfilerCategory::ScriptEnterFullscreen => "Script Enter Fullscreen",
|
ProfilerCategory::ScriptEnterFullscreen => "Script Enter Fullscreen",
|
||||||
ProfilerCategory::ScriptExitFullscreen => "Script Exit Fullscreen",
|
ProfilerCategory::ScriptExitFullscreen => "Script Exit Fullscreen",
|
||||||
ProfilerCategory::ScriptWebVREvent => "Script WebVR Event",
|
|
||||||
ProfilerCategory::ScriptWorkletEvent => "Script Worklet Event",
|
ProfilerCategory::ScriptWorkletEvent => "Script Worklet Event",
|
||||||
ProfilerCategory::ScriptPerformanceEvent => "Script Performance Event",
|
ProfilerCategory::ScriptPerformanceEvent => "Script Performance Event",
|
||||||
ProfilerCategory::ScriptWebGPUMsg => "Script WebGPU Message",
|
ProfilerCategory::ScriptWebGPUMsg => "Script WebGPU Message",
|
||||||
|
|
|
@ -60,25 +60,18 @@ pub enum ProfilerMsg {
|
||||||
pub enum ProfilerCategory {
|
pub enum ProfilerCategory {
|
||||||
Compositing = 0x00,
|
Compositing = 0x00,
|
||||||
LayoutPerform = 0x10,
|
LayoutPerform = 0x10,
|
||||||
|
|
||||||
|
/// Events currently only used by Layout 2013.
|
||||||
LayoutStyleRecalc = 0x11,
|
LayoutStyleRecalc = 0x11,
|
||||||
LayoutTextShaping = 0x12,
|
LayoutTextShaping = 0x12,
|
||||||
LayoutRestyleDamagePropagation = 0x13,
|
LayoutRestyleDamagePropagation = 0x13,
|
||||||
LayoutNonIncrementalReset = 0x14,
|
|
||||||
LayoutSelectorMatch = 0x15,
|
|
||||||
LayoutTreeBuilder = 0x16,
|
|
||||||
LayoutDamagePropagate = 0x17,
|
|
||||||
LayoutGeneratedContent = 0x18,
|
LayoutGeneratedContent = 0x18,
|
||||||
LayoutDisplayListSorting = 0x19,
|
|
||||||
LayoutFloatPlacementSpeculation = 0x1a,
|
LayoutFloatPlacementSpeculation = 0x1a,
|
||||||
LayoutMain = 0x1b,
|
LayoutMain = 0x1b,
|
||||||
LayoutStoreOverflow = 0x1c,
|
LayoutStoreOverflow = 0x1c,
|
||||||
LayoutParallelWarmup = 0x1d,
|
LayoutParallelWarmup = 0x1d,
|
||||||
LayoutDispListBuild = 0x1e,
|
LayoutDispListBuild = 0x1e,
|
||||||
NetHTTPRequestResponse = 0x30,
|
|
||||||
PaintingPerTile = 0x41,
|
|
||||||
PaintingPrepBuff = 0x42,
|
|
||||||
Painting = 0x43,
|
|
||||||
ImageDecoding = 0x50,
|
|
||||||
ImageSaving = 0x51,
|
ImageSaving = 0x51,
|
||||||
ScriptAttachLayout = 0x60,
|
ScriptAttachLayout = 0x60,
|
||||||
ScriptConstellationMsg = 0x61,
|
ScriptConstellationMsg = 0x61,
|
||||||
|
@ -111,15 +104,17 @@ pub enum ProfilerCategory {
|
||||||
|
|
||||||
ScriptEnterFullscreen = 0x77,
|
ScriptEnterFullscreen = 0x77,
|
||||||
ScriptExitFullscreen = 0x78,
|
ScriptExitFullscreen = 0x78,
|
||||||
ScriptWebVREvent = 0x79,
|
|
||||||
ScriptWorkletEvent = 0x7a,
|
ScriptWorkletEvent = 0x7a,
|
||||||
ScriptPerformanceEvent = 0x7b,
|
ScriptPerformanceEvent = 0x7b,
|
||||||
ScriptHistoryEvent = 0x7c,
|
ScriptHistoryEvent = 0x7c,
|
||||||
ScriptPortMessage = 0x7d,
|
ScriptPortMessage = 0x7d,
|
||||||
ScriptWebGPUMsg = 0x7e,
|
ScriptWebGPUMsg = 0x7e,
|
||||||
|
|
||||||
|
/// Web performance metrics.
|
||||||
TimeToFirstPaint = 0x80,
|
TimeToFirstPaint = 0x80,
|
||||||
TimeToFirstContentfulPaint = 0x81,
|
TimeToFirstContentfulPaint = 0x81,
|
||||||
TimeToInteractive = 0x82,
|
TimeToInteractive = 0x82,
|
||||||
|
|
||||||
IpcReceiver = 0x83,
|
IpcReceiver = 0x83,
|
||||||
IpcBytesReceiver = 0x84,
|
IpcBytesReceiver = 0x84,
|
||||||
}
|
}
|
||||||
|
@ -132,22 +127,12 @@ impl ProfilerCategory {
|
||||||
ProfilerCategory::LayoutStyleRecalc => "LayoutStyleRecalc",
|
ProfilerCategory::LayoutStyleRecalc => "LayoutStyleRecalc",
|
||||||
ProfilerCategory::LayoutTextShaping => "LayoutTextShaping",
|
ProfilerCategory::LayoutTextShaping => "LayoutTextShaping",
|
||||||
ProfilerCategory::LayoutRestyleDamagePropagation => "LayoutRestyleDamagePropagation",
|
ProfilerCategory::LayoutRestyleDamagePropagation => "LayoutRestyleDamagePropagation",
|
||||||
ProfilerCategory::LayoutNonIncrementalReset => "LayoutNonIncrementalReset",
|
|
||||||
ProfilerCategory::LayoutSelectorMatch => "LayoutSelectorMatch",
|
|
||||||
ProfilerCategory::LayoutTreeBuilder => "LayoutTreeBuilder",
|
|
||||||
ProfilerCategory::LayoutDamagePropagate => "LayoutDamagePropagate",
|
|
||||||
ProfilerCategory::LayoutGeneratedContent => "LayoutGeneratedContent",
|
ProfilerCategory::LayoutGeneratedContent => "LayoutGeneratedContent",
|
||||||
ProfilerCategory::LayoutDisplayListSorting => "LayoutDisplayListSorting",
|
|
||||||
ProfilerCategory::LayoutFloatPlacementSpeculation => "LayoutFloatPlacementSpeculation",
|
ProfilerCategory::LayoutFloatPlacementSpeculation => "LayoutFloatPlacementSpeculation",
|
||||||
ProfilerCategory::LayoutMain => "LayoutMain",
|
ProfilerCategory::LayoutMain => "LayoutMain",
|
||||||
ProfilerCategory::LayoutStoreOverflow => "LayoutStoreOverflow",
|
ProfilerCategory::LayoutStoreOverflow => "LayoutStoreOverflow",
|
||||||
ProfilerCategory::LayoutParallelWarmup => "LayoutParallelWarmup",
|
ProfilerCategory::LayoutParallelWarmup => "LayoutParallelWarmup",
|
||||||
ProfilerCategory::LayoutDispListBuild => "LayoutDispListBuild",
|
ProfilerCategory::LayoutDispListBuild => "LayoutDispListBuild",
|
||||||
ProfilerCategory::NetHTTPRequestResponse => "NetHTTPRequestResponse",
|
|
||||||
ProfilerCategory::PaintingPerTile => "PaintingPerTile",
|
|
||||||
ProfilerCategory::PaintingPrepBuff => "PaintingPrepBuff",
|
|
||||||
ProfilerCategory::Painting => "Painting",
|
|
||||||
ProfilerCategory::ImageDecoding => "ImageDecoding",
|
|
||||||
ProfilerCategory::ImageSaving => "ImageSaving",
|
ProfilerCategory::ImageSaving => "ImageSaving",
|
||||||
ProfilerCategory::ScriptAttachLayout => "ScriptAttachLayout",
|
ProfilerCategory::ScriptAttachLayout => "ScriptAttachLayout",
|
||||||
ProfilerCategory::ScriptConstellationMsg => "ScriptConstellationMsg",
|
ProfilerCategory::ScriptConstellationMsg => "ScriptConstellationMsg",
|
||||||
|
@ -174,7 +159,6 @@ impl ProfilerCategory {
|
||||||
ProfilerCategory::ScriptParseXML => "ScriptParseXML",
|
ProfilerCategory::ScriptParseXML => "ScriptParseXML",
|
||||||
ProfilerCategory::ScriptEnterFullscreen => "ScriptEnterFullscreen",
|
ProfilerCategory::ScriptEnterFullscreen => "ScriptEnterFullscreen",
|
||||||
ProfilerCategory::ScriptExitFullscreen => "ScriptExitFullscreen",
|
ProfilerCategory::ScriptExitFullscreen => "ScriptExitFullscreen",
|
||||||
ProfilerCategory::ScriptWebVREvent => "ScriptWebVREvent",
|
|
||||||
ProfilerCategory::ScriptWorkletEvent => "ScriptWorkletEvent",
|
ProfilerCategory::ScriptWorkletEvent => "ScriptWorkletEvent",
|
||||||
ProfilerCategory::ScriptPerformanceEvent => "ScriptPerformanceEvent",
|
ProfilerCategory::ScriptPerformanceEvent => "ScriptPerformanceEvent",
|
||||||
ProfilerCategory::ScriptHistoryEvent => "ScriptHistoryEvent",
|
ProfilerCategory::ScriptHistoryEvent => "ScriptHistoryEvent",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue