Skip to content

Commit e2e7cd3

Browse files
tmshortclaude
andcommitted
✨ Add multi-component memory profiling support
Refactored memory profiling tools to simultaneously analyze both operator-controller and catalogd components: **collect-profiles.sh:** - Hardcoded dual-component collection (operator-controller + catalogd) - Separate port forwards: localhost:6060 → operator-controller:6060, localhost:6061 → catalogd:6060 - Creates component subdirectories for organized profile storage - Collects profiles from both components simultaneously **analyze-profiles.sh:** - Removed backward compatibility for single-component analysis - Now requires both component directories to exist - Added analyze_component() function with stderr redirects to prevent log pollution in captured output - Generates combined analysis.md with sections for each component - Executive Summary shows peak memory for both components - Prometheus Alerts section remains test-wide (not per-component) **run-profiled-test.sh:** - Updated progress display to show both components: "operator-controller: X, catalogd: Y" - Enhanced summary output for dual-component results Directory structure: memory-profiles/ └── test-name/ ├── operator-controller/ │ └── heap*.pprof ├── catalogd/ │ └── heap*.pprof ├── analysis.md └── e2e-summary.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2e58b3e commit e2e7cd3

File tree

3 files changed

+334
-204
lines changed

3 files changed

+334
-204
lines changed

0 commit comments

Comments
 (0)