Skip to content

Instantly share code, notes, and snippets.

@Trass3r
Last active February 7, 2023 13:23
Show Gist options
  • Save Trass3r/ab7cbe5686323ae63a67a32915d5edfc to your computer and use it in GitHub Desktop.
Save Trass3r/ab7cbe5686323ae63a67a32915d5edfc to your computer and use it in GitHub Desktop.
WPA profile for exporting template instantiation statistics via `wpaexporter build.etl -profile test.wpaProfile -delimiter "\t"`
<?xml version="1.0" encoding="utf-8"?>
<WpaProfileContainer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="2" xmlns="http://tempuri.org/SerializableElement.xsd">
<Content xsi:type="WpaProfile2">
<Sessions>
<Session Index="0">
<FileReferences />
</Session>
</Sessions>
<Views>
<View Guid="ab3305f1-304e-4545-9f85-0b7488072055" IsVisible="true" Title="Analysis">
<Graphs>
<Graph Guid="3a692a2a-3572-4ea2-a373-dafec86d5103" LayoutStyle="All" Color="#FF87CEFA" GraphHeight="125" IsMinimized="false" IsShown="true" IsExpanded="false">
<Preset Name="My Stats" BarGraphIntervalCount="50" IsThreadActivityTable="false" GraphColumnCount="20" KeyColumnCount="3" LeftFrozenColumnCount="0" RightFrozenColumnCount="19" InitialFilterShouldKeep="true" GraphFilterTopValue="0" GraphFilterThresholdValue="0">
<MetadataEntries>
<MetadataEntry Guid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" Name="Start Time" ColumnMetadata="StartTime" />
<MetadataEntry Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration" ColumnMetadata="Duration" />
</MetadataEntries>
<HighlightEntries />
<Columns>
<Column Guid="ea68e9ed-16e1-4e4b-ad17-7c7f2d1c15b5" Name="Primary Template Name" SortPriority="4" Width="214" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="a6008603-f974-4ae3-8ab6-70bb2e8f35b4" Name="Specialization Name" SortPriority="5" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration Sum" AggregationMode="Sum" SortOrder="Descending" SortPriority="0" TextAlignment="Right" Width="150" IsVisible="true">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="021033e5-ec55-4be0-ba3c-b86230c5c1c1" Name="Wall Clock Time Responsibility" AggregationMode="Sum" SortPriority="6" TextAlignment="Right" Width="150" IsVisible="false">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration Avg" AggregationMode="Average" SortOrder="Descending" SortPriority="1" TextAlignment="Right" Width="150" CellFormat="mN" IsVisible="true">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration Min" AggregationMode="Min" SortOrder="Descending" SortPriority="2" TextAlignment="Right" Width="150" CellFormat="mN" IsVisible="true">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration Max" AggregationMode="Max" SortOrder="Descending" SortPriority="3" TextAlignment="Right" Width="150" CellFormat="mN" IsVisible="true">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="27a63c47-7a68-4787-a919-05d3eb1510a0" Name="Count" AggregationMode="Sum" SortPriority="7" TextAlignment="Right" Width="150" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="44f321f3-a8d3-4f08-8702-5ec2aaeeb5ef" Name="Component" SortPriority="8" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="11ca96b0-cf66-412f-8c4b-7298cec7a261" Name="Timeline Description" SortPriority="9" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="382630dd-a96c-4ed0-8cee-eb4b6c124d66" Name="Timeline Id" SortPriority="10" TextAlignment="Right" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="3a312e29-3af4-4275-8c10-8e50159379c7" Name="Tool" SortPriority="11" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="6fb5ee23-815a-4949-879d-fc5cfb74b018" Name="Invocation Id" SortPriority="12" TextAlignment="Right" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="94413bba-662e-43e3-b436-65de40cbdbb7" Name="Process Id" SortPriority="13" TextAlignment="Right" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="310809e8-bccd-46b8-af3a-ef72185bd759" Name="Thread Id" SortPriority="14" TextAlignment="Right" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="5bfabde8-8092-46b1-9754-7c1819649816" Name="Generic String 1" SortPriority="15" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="67eab8a7-ba24-4aee-a11c-fb947e312289" Name="Generic Integer 1" SortPriority="16" TextAlignment="Right" Width="150" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" Name="Start Time" SortPriority="17" TextAlignment="Right" Width="150" CellFormat="nN" IsVisible="false">
<DateTimeTimestampOptionsParameter DateTimeEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="ae5950aa-8832-424e-b0d3-fcc37ba1174c" Name="Duration" SortPriority="18" TextAlignment="Right" Width="150" IsVisible="false">
<DurationInViewOptionsParameter TimeStampColumnGuid="0f8bdd44-17ab-4b52-ad5f-18c70c016b6e" TimeStampType="Start" InViewEnabled="false" />
<ColorQueryEntries />
</Column>
<Column Guid="ce84d427-a0a7-58d9-0fde-e8d2e84770bc" Name="Table" SortPriority="19" Width="16" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="6a67fd39-b79b-54c3-d192-12ded31c68b1" Name="Trace #" SortPriority="20" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="82ddfdff-ee93-5f35-08ac-4705069618dc" Name="Thread Activity Tag" SortPriority="21" Width="16" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="cb796d44-2927-5ac1-d231-4b71904c18f5" Name="Thread Name" SortPriority="22" Width="16" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="2818954f-2d30-5569-4510-dade0a5a605c" Name="Annotation" SortPriority="23" Width="80" IsVisible="false">
<AnnotationsOptionsParameter>
<AnnotationQueryEntries />
</AnnotationsOptionsParameter>
<ColorQueryEntries />
</Column>
</Columns>
</Preset>
</Graph>
</Graphs>
<SessionIndices>
<SessionIndex>0</SessionIndex>
</SessionIndices>
</View>
</Views>
</Content>
</WpaProfileContainer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment