MstatDiffResult
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
The complete result of comparing two ILC size reports: a hierarchical delta tree for treemap rendering, headline figures, the flat contributor list a CI log prints, and the per-assembly / per-namespace aggregates that size budgets evaluate against.
public sealed record MstatDiffResult : IEquatable<MstatDiffResult>Inheritance
Section titled “Inheritance”Object → MstatDiffResult
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MstatDiffResult(string, string, SizeDiffNode, SizeDiffSummary, IReadOnlyList<SizeDiffContributor>, IReadOnlyList<SizeDiffAggregate>, IReadOnlyList<SizeDiffAggregate>)
Section titled “MstatDiffResult(string, string, SizeDiffNode, SizeDiffSummary, IReadOnlyList<SizeDiffContributor>, IReadOnlyList<SizeDiffAggregate>, IReadOnlyList<SizeDiffAggregate>)”The complete result of comparing two ILC size reports: a hierarchical delta tree for treemap rendering, headline figures, the flat contributor list a CI log prints, and the per-assembly / per-namespace aggregates that size budgets evaluate against.
Parameters:
LeftFormatVersion(String): The baseline report’s format version (for example"2.2";"0.0"for the empty baseline).RightFormatVersion(String): The comparison report’s format version.Root(SizeDiffNode): The delta tree — changed subtrees only, children ordered by absolute delta.Summary(SizeDiffSummary): Totals, unchanged mass, and per-kind direction counts.Contributors(IReadOnlyList<SizeDiffContributor>): Every changed entry, ordered by absolute delta descending. Callers trim to their top-N.AssemblyDeltas(IReadOnlyList<SizeDiffAggregate>): Attributable bytes per assembly on both sides, ordered by absolute delta descending.NamespaceDeltas(IReadOnlyList<SizeDiffAggregate>): Attributable bytes per namespace on both sides, folded across assemblies, ordered by absolute delta descending.
public MstatDiffResult(string LeftFormatVersion, string RightFormatVersion, SizeDiffNode Root, SizeDiffSummary Summary, IReadOnlyList<SizeDiffContributor> Contributors, IReadOnlyList<SizeDiffAggregate> AssemblyDeltas, IReadOnlyList<SizeDiffAggregate> NamespaceDeltas)Properties
Section titled “Properties”AssemblyDeltas
Section titled “AssemblyDeltas”Attributable bytes per assembly on both sides, ordered by absolute delta descending.
Returns: IReadOnlyList<SizeDiffAggregate>
public IReadOnlyList<SizeDiffAggregate> AssemblyDeltas { get; init; }Contributors
Section titled “Contributors”Every changed entry, ordered by absolute delta descending. Callers trim to their top-N.
Returns: IReadOnlyList<SizeDiffContributor>
public IReadOnlyList<SizeDiffContributor> Contributors { get; init; }LeftFormatVersion
Section titled “LeftFormatVersion”The baseline report’s format version (for example "2.2"; "0.0" for the empty baseline).
Returns: String
public string LeftFormatVersion { get; init; }NamespaceDeltas
Section titled “NamespaceDeltas”Attributable bytes per namespace on both sides, folded across assemblies, ordered by absolute delta descending.
Returns: IReadOnlyList<SizeDiffAggregate>
public IReadOnlyList<SizeDiffAggregate> NamespaceDeltas { get; init; }RightFormatVersion
Section titled “RightFormatVersion”The comparison report’s format version.
Returns: String
public string RightFormatVersion { get; init; }The delta tree — changed subtrees only, children ordered by absolute delta.
Returns: SizeDiffNode
public SizeDiffNode Root { get; init; }Summary
Section titled “Summary”Totals, unchanged mass, and per-kind direction counts.
Returns: SizeDiffSummary
public SizeDiffSummary Summary { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out SizeDiffNode, out SizeDiffSummary, out IReadOnlyList<SizeDiffContributor>, out IReadOnlyList<SizeDiffAggregate>, out IReadOnlyList<SizeDiffAggregate>)
Section titled “Deconstruct(out string, out string, out SizeDiffNode, out SizeDiffSummary, out IReadOnlyList<SizeDiffContributor>, out IReadOnlyList<SizeDiffAggregate>, out IReadOnlyList<SizeDiffAggregate>)”Parameters:
LeftFormatVersion(String)RightFormatVersion(String)Root(SizeDiffNode)Summary(SizeDiffSummary)Contributors(IReadOnlyList<SizeDiffContributor>)AssemblyDeltas(IReadOnlyList<SizeDiffAggregate>)NamespaceDeltas(IReadOnlyList<SizeDiffAggregate>)
public void Deconstruct(out string LeftFormatVersion, out string RightFormatVersion, out SizeDiffNode Root, out SizeDiffSummary Summary, out IReadOnlyList<SizeDiffContributor> Contributors, out IReadOnlyList<SizeDiffAggregate> AssemblyDeltas, out IReadOnlyList<SizeDiffAggregate> NamespaceDeltas)Equals(MstatDiffResult?)
Section titled “Equals(MstatDiffResult?)”Parameters:
other(MstatDiffResult)
Returns: Boolean
public bool Equals(MstatDiffResult? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(MstatDiffResult?, MstatDiffResult?)
Section titled “operator !=(MstatDiffResult?, MstatDiffResult?)”Parameters:
left(MstatDiffResult)right(MstatDiffResult)
Returns: Boolean
public static bool operator !=(MstatDiffResult? left, MstatDiffResult? right)operator ==(MstatDiffResult?, MstatDiffResult?)
Section titled “operator ==(MstatDiffResult?, MstatDiffResult?)”Parameters:
left(MstatDiffResult)right(MstatDiffResult)
Returns: Boolean
public static bool operator ==(MstatDiffResult? left, MstatDiffResult? right)