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; }Methods
Section titled “Methods”Deconstruct(out long, out long, out long, out long, out IReadOnlyList<SizeDiffKindCounts>, out int, out int)
Section titled “Deconstruct(out long, out long, out long, out long, out IReadOnlyList<SizeDiffKindCounts>, out int, out int)”Parameters:
LeftTotal(Int64)RightTotal(Int64)Delta(Int64)UnchangedTotal(Int64)Counts(IReadOnlyList<SizeDiffKindCounts>)LeftDeduplicatedMethods(Int32)RightDeduplicatedMethods(Int32)
public void Deconstruct(out long LeftTotal, out long RightTotal, out long Delta, out long UnchangedTotal, out IReadOnlyList<SizeDiffKindCounts> Counts, out int LeftDeduplicatedMethods, out int RightDeduplicatedMethods)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(SizeDiffSummary?)
Section titled “Equals(SizeDiffSummary?)”Parameters:
other(SizeDiffSummary)
Returns: Boolean
public bool Equals(SizeDiffSummary? other)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 !=(SizeDiffSummary?, SizeDiffSummary?)
Section titled “operator !=(SizeDiffSummary?, SizeDiffSummary?)”Parameters:
left(SizeDiffSummary)right(SizeDiffSummary)
Returns: Boolean
public static bool operator !=(SizeDiffSummary? left, SizeDiffSummary? right)operator ==(SizeDiffSummary?, SizeDiffSummary?)
Section titled “operator ==(SizeDiffSummary?, SizeDiffSummary?)”Parameters:
left(SizeDiffSummary)right(SizeDiffSummary)
Returns: Boolean
public static bool operator ==(SizeDiffSummary? left, SizeDiffSummary? right)