SizeDiffSummary
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
The headline figures of a size diff between two Native AOT builds. Totals are mstat
attributable bytes — the same figures analyze --size reports for each build alone.
public sealed record SizeDiffSummary : IEquatable<SizeDiffSummary>Inheritance
Section titled “Inheritance”Object → SizeDiffSummary
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SizeDiffSummary(long, long, long, long, IReadOnlyList<SizeDiffKindCounts>, int, int)
Section titled “SizeDiffSummary(long, long, long, long, IReadOnlyList<SizeDiffKindCounts>, int, int)”The headline figures of a size diff between two Native AOT builds. Totals are mstat
attributable bytes — the same figures analyze --size reports for each build alone.
Parameters:
LeftTotal(Int64): The baseline build’s total attributable bytes.RightTotal(Int64): The comparison build’s total attributable bytes.Delta(Int64): RightTotal minus LeftTotal.UnchangedTotal(Int64): The bytes carried by entries identical in both builds. The delta tree omits these; a self-diff has UnchangedTotal equal to the build total and an empty tree.Counts(IReadOnlyList<SizeDiffKindCounts>): Per-kind entry counts split by direction.LeftDeduplicatedMethods(Int32): The baseline build’s deduplicated-method count (format 2.2+; informational — the entries carry no bytes).RightDeduplicatedMethods(Int32): The comparison build’s deduplicated-method count.
public SizeDiffSummary(long LeftTotal, long RightTotal, long Delta, long UnchangedTotal, IReadOnlyList<SizeDiffKindCounts> Counts, int LeftDeduplicatedMethods, int RightDeduplicatedMethods)Properties
Section titled “Properties”Counts
Section titled “Counts”Per-kind entry counts split by direction.
Returns: IReadOnlyList<SizeDiffKindCounts>
public IReadOnlyList<SizeDiffKindCounts> Counts { get; init; }RightTotal minus LeftTotal.
Returns: Int64
public long Delta { get; init; }LeftDeduplicatedMethods
Section titled “LeftDeduplicatedMethods”The baseline build’s deduplicated-method count (format 2.2+; informational — the entries carry no bytes).
Returns: Int32
public int LeftDeduplicatedMethods { get; init; }LeftTotal
Section titled “LeftTotal”The baseline build’s total attributable bytes.
Returns: Int64
public long LeftTotal { get; init; }RightDeduplicatedMethods
Section titled “RightDeduplicatedMethods”The comparison build’s deduplicated-method count.
Returns: Int32
public int RightDeduplicatedMethods { get; init; }RightTotal
Section titled “RightTotal”The comparison build’s total attributable bytes.
Returns: Int64
public long RightTotal { get; init; }UnchangedTotal
Section titled “UnchangedTotal”The bytes carried by entries identical in both builds. The delta tree omits these; a self-diff has UnchangedTotal equal to the build total and an empty tree.
Returns: Int64
public long UnchangedTotal { get; init; }