Memory & FFI Snapshot Analysis

Complex Types, Lifetimes, Relationships & Unsafe Operations

Analysis Summary

Total Complex Types

5

Allocations Analyzed

639

Generic Types

6

Unsafe FFI Entries

2

Memory Distribution by Type

Allocation Size Distribution

Variable Lifecycle Timeline

Variable
0ms 250ms 500ms 750ms 1000ms

Loading lifetime data...

Visual representation of variable lifetimes showing allocation/deallocation points and durations

Analyzing memory growth trends...

Analyzing memory fragmentation...

Memory Allocations

Variable Type Size Allocated At
Loading...

Loading FFI analysis...

Variable Relationship Graph

Click on a node to view details

Node Size & Complexity

Node Size: Memory Usage
Small Circle: Complexity Score
Larger nodes = more memory allocated

Type Colors

Collections
Smart Pointers
Strings
Other

Interactions

• Click nodes for details
• Drag to reposition
• Scroll to zoom
• Hover to highlight

Complexity Score Guide

1
Simple (1-2)
Basic types, primitives
4
Medium (3-5)
String, Path types
6
Complex (6-8)
Vec, Box, Option
9
Very Complex (9-10)
HashMap, BTreeMap
Note: Higher complexity scores indicate types with greater performance overhead and memory management complexity. Numbers like 5 and 6 represent medium to complex types that involve heap allocation and smart pointers.

Smart Pointers

5

Collections

1

Primitives

0