Skip to content

SizeDiffKindCounts

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Entry counts for one node kind in a size diff, split by direction. Grown and shrunk are the two signs of a changed entry; unchanged entries are counted here but never appear in the delta tree.

public sealed record SizeDiffKindCounts : IEquatable<SizeDiffKindCounts>

ObjectSizeDiffKindCounts

SizeDiffKindCounts(SizeNodeKind, int, int, int, int, int)

Section titled “SizeDiffKindCounts(SizeNodeKind, int, int, int, int, int)”

Entry counts for one node kind in a size diff, split by direction. Grown and shrunk are the two signs of a changed entry; unchanged entries are counted here but never appear in the delta tree.

Parameters:

  • Kind (SizeNodeKind): The node kind the counts describe.
  • Added (Int32): Entries present only in the comparison build.
  • Removed (Int32): Entries present only in the baseline build.
  • Grown (Int32): Entries present in both builds whose size increased.
  • Shrunk (Int32): Entries present in both builds whose size decreased.
  • Unchanged (Int32): Entries present in both builds at the same size.
public SizeDiffKindCounts(SizeNodeKind Kind, int Added, int Removed, int Grown, int Shrunk, int Unchanged)

Entries present only in the comparison build.

Returns: Int32

public int Added { get; init; }

Entries present in both builds whose size increased.

Returns: Int32

public int Grown { get; init; }

The node kind the counts describe.

Returns: SizeNodeKind

public SizeNodeKind Kind { get; init; }

Entries present only in the baseline build.

Returns: Int32

public int Removed { get; init; }

Entries present in both builds whose size decreased.

Returns: Int32

public int Shrunk { get; init; }

Entries present in both builds at the same size.

Returns: Int32

public int Unchanged { get; init; }