Skip to content

SizeAnalyzer

Namespace: Dotsider.Core.Analysis

Assembly: Dotsider.Core.dll

Computes IL code size per method and builds a hierarchical size tree for treemap visualization. For a Native AOT binary with an mstat sidecar the tree is built from the compiler’s size report instead: native code and MethodTable bytes per assembly, namespace, type, and method, plus the binary’s data categories. Without an mstat, the binary’s merged native symbols carry the tree.

public static class SizeAnalyzer

ObjectSizeAnalyzer

Builds a hierarchical size tree from the assembly’s methods grouped by type and namespace.

Parameters:

  • analyzer (AssemblyAnalyzer): The assembly analyzer to read method metadata from.

Returns: SizeNode

The root SizeNode representing the entire assembly.

public static SizeNode BuildSizeTree(AssemblyAnalyzer analyzer)