Module profiling

Source
Expand description

Performance profiling and flame graph generation for MCP servers

This module provides:

  • CPU profiling with sampling
  • Memory profiling and leak detection
  • Flame graph generation
  • Performance hotspot identification
  • Function call tracing
  • Async task profiling

Structs§

AllocationInfo
Allocation information
AsyncProfilingConfig
Async profiling configuration
AsyncTaskProfile
Async task profile
CpuProfilingConfig
CPU profiling configuration
CpuSample
CPU sample
FlameGraphConfig
Flame graph configuration
FlameGraphData
Flame graph data
FlameGraphNode
Flame graph node
FunctionCall
Function call record
FunctionCallProfile
Function call profile
MemoryProfilingConfig
Memory profiling configuration
MemorySnapshot
Memory snapshot
PerformanceHotspot
Performance hotspot
PerformanceProfiler
Performance profiler
PerformanceThresholds
Performance thresholds
ProfilingConfig
Profiling configuration
ProfilingSession
Profiling session
ProfilingStats
Profiling statistics
StackFrame
Stack frame

Enums§

AsyncTaskState
Async task state
FlameGraphColorScheme
Flame graph color schemes
HotspotSeverity
Hotspot severity
HotspotType
Hotspot type
ProfilingError
Profiling errors
ProfilingSessionType
Profiling session type