Benchpress.format.ps1xml

<?xml version="1.0" encoding="utf-16"?>
<!-- Generated with EZOut 1.8.6: Install-Module EZOut or https://github.com/StartAutomating/EZOut -->
<Configuration>
  <ViewDefinitions>
    <View>
      <Name>Benchmark.DetailDeserialized.Benchmark.Detail</Name>
      <ViewSelectedBy>
        <TypeName>Benchmark.Detail</TypeName>
        <TypeName>Deserialized.Benchmark.Detail</TypeName>
      </ViewSelectedBy>
      <GroupBy>
        <ScriptBlock>
            $_.FileName + ' ' + $_.GroupName + $(if ($_.ClockSpeed) { '@~'+ $_.ClockSpeed+' Mhz'})
        </ScriptBlock>
        <Label>Benchmark</Label>
      </GroupBy>
      <TableControl>
        <AutoSize />
        <TableHeaders>
          <TableColumnHeader>
            <Alignment>left</Alignment>
            <Width>40</Width>
          </TableColumnHeader>
          <TableColumnHeader>
            <Alignment>left</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Alignment>left</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Alignment>left</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Alignment>left</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Alignment>left</Alignment>
          </TableColumnHeader>
        </TableHeaders>
        <TableRowEntries>
          <TableRowEntry>
            <Wrap />
            <TableColumnItems>
              <TableColumnItem>
                <PropertyName>Command</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>RepeatCount</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>TotalTime</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>AverageTime</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>FastestTime</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>SlowestTime</PropertyName>
              </TableColumnItem>
            </TableColumnItems>
          </TableRowEntry>
        </TableRowEntries>
      </TableControl>
    </View>
    <View>
      <Name>Benchmark.Relative.SummaryDeserialized.Benchmark.Relative.Summary</Name>
      <ViewSelectedBy>
        <TypeName>Benchmark.Relative.Summary</TypeName>
        <TypeName>Deserialized.Benchmark.Relative.Summary</TypeName>
      </ViewSelectedBy>
      <GroupBy>
        <ScriptBlock>
        $_.FileName + ' ' + $_.GroupName + $(if ($_.ClockSpeed) { '@~'+ $_.ClockSpeed+' Mhz'})
    </ScriptBlock>
        <Label>Benchmark</Label>
      </GroupBy>
      <TableControl>
        <TableHeaders>
          <TableColumnHeader>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>Time</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>RelativeSpeed</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>Throughput</Label>
          </TableColumnHeader>
        </TableHeaders>
        <TableRowEntries>
          <TableRowEntry>
            <TableColumnItems>
              <TableColumnItem>
                <PropertyName>Technique</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <ScriptBlock> $_.Time.ToString().Substring(0,15) </ScriptBlock>
              </TableColumnItem>
              <TableColumnItem>
                <ScriptBlock> [Math]::Round($_.RelativeSpeed, 2).ToString() + 'x'</ScriptBlock>
              </TableColumnItem>
              <TableColumnItem>
                <ScriptBlock>[Math]::Round($_.Throughput,2).ToString() + "/s"</ScriptBlock>
              </TableColumnItem>
            </TableColumnItems>
          </TableRowEntry>
        </TableRowEntries>
      </TableControl>
    </View>
  </ViewDefinitions>
</Configuration>