Skip to content

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>

ObjectMstatDiffResult

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)

Attributable bytes per assembly on both sides, ordered by absolute delta descending.

Returns: IReadOnlyList<SizeDiffAggregate>

public IReadOnlyList<SizeDiffAggregate> AssemblyDeltas { get; init; }

Every changed entry, ordered by absolute delta descending. Callers trim to their top-N.

Returns: IReadOnlyList<SizeDiffContributor>

public IReadOnlyList<SizeDiffContributor> Contributors { get; init; }

The baseline report’s format version (for example "2.2"; "0.0" for the empty baseline).

Returns: String

public string LeftFormatVersion { get; init; }

Attributable bytes per namespace on both sides, folded across assemblies, ordered by absolute delta descending.

Returns: IReadOnlyList<SizeDiffAggregate>

public IReadOnlyList<SizeDiffAggregate> NamespaceDeltas { get; init; }

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; }

Totals, unchanged mass, and per-kind direction counts.

Returns: SizeDiffSummary

public SizeDiffSummary Summary { get; init; }