Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ private ResultItem(string runName, string corerun)
FirstToLastGCSeconds = double.NaN;
HeapSizeBeforeMB_Mean = double.NaN;
HeapSizeAfter_Mean = double.NaN;
TotalCommittedInUse = double.NaN;
TotalBookkeepingCommitted = double.NaN;
TotalCommittedInGlobalDecommit = double.NaN;
TotalCommittedInFree = double.NaN;
TotalCommittedInGlobalFree = double.NaN;
PauseDurationMSec_95PWhereIsGen0 = double.NaN;
PauseDurationMSec_95PWhereIsGen1 = double.NaN;
PauseDurationMSec_95PWhereIsBackground = double.NaN;
Expand Down Expand Up @@ -47,6 +52,12 @@ public ResultItem(GCProcessData processData, string runName, string configuratio
HeapSizeAfter_Mean = GoodLinq.Average(processData.GCs, (gc => gc.HeapSizeAfterMB));
HeapSizeBeforeMB_Mean = GoodLinq.Average(processData.GCs, (gc => gc.HeapSizeBeforeMB));

TotalCommittedInUse = GoodLinq.Average(processData.GCs, (gc => gc.CommittedUsageBefore.TotalCommittedInUse));
TotalBookkeepingCommitted = GoodLinq.Average(processData.GCs, (gc => gc.CommittedUsageBefore.TotalBookkeepingCommitted));
TotalCommittedInGlobalDecommit = GoodLinq.Average(processData.GCs, (gc => gc.CommittedUsageBefore.TotalCommittedInGlobalDecommit));
TotalCommittedInFree = GoodLinq.Average(processData.GCs, (gc => gc.CommittedUsageBefore.TotalCommittedInFree));
TotalCommittedInGlobalFree = GoodLinq.Average(processData.GCs, (gc => gc.CommittedUsageBefore.TotalCommittedInGlobalFree));

var properties = processData.Stats.GetType().GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance);
foreach (var property in properties)
{
Expand Down Expand Up @@ -104,6 +115,11 @@ public ResultItem(GCProcessData processData, string runName, string configuratio
public double FirstToLastGCSeconds { get; }
public double HeapSizeBeforeMB_Mean { get; }
public double HeapSizeAfter_Mean { get; }
public double TotalCommittedInUse { get; set; }
public double TotalCommittedInGlobalDecommit { get; set; }
public double TotalCommittedInFree { get; set; }
public double TotalCommittedInGlobalFree { get; set; }
public double TotalBookkeepingCommitted { get; set; }
public double PauseDurationMSec_95PWhereIsGen0 { get; }
public double PauseDurationMSec_95PWhereIsGen1 { get; }
public double PauseDurationMSec_95PWhereIsBackground { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,27 @@ public string ToMarkdownString(string runName, string baselineCorerunName, strin
public double BaselineMetric { get; }
public double ComparandMetric { get; }
public double Delta => ComparandMetric - BaselineMetric;
public double PercentageDelta => (Delta / BaselineMetric) * 100;
public double PercentageDelta
{
get
{
if (BaselineMetric == 0)
{
if (ComparandMetric == 0)
{
return 0;
}
else
{
return double.NaN;
}
}
else
{
return Delta / BaselineMetric * 100.0;
}
}
}
public string Key => $"{Baseline.ConfigurationName}_{RunName}";
public ResultItem Baseline { get; }
public ResultItem Comparand { get; }
Expand Down