Files
Kazuki YamadaandClaude Opus 4.6 d659865f35 fix(scripts): Compare post-warmup baseline in memory test final analysis
The final analysis compared iteration 0 (cold start, ~20MB heap) against
the final measurement, causing false "significant memory growth" warnings
on short CI runs (50 iterations). Now uses the average of post-warmup
entries as baseline, matching how the mid-run trend analysis already works.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 13:05:56 +09:00
..

Memory Benchmarks

Memory usage monitoring tools for repomix.

Setup

cd scripts/memory
npm install

Quick Start

# Quick memory leak check
npm run leak:quick

# Detailed analysis
npm run leak:analyze

Available Scripts

  • npm run leak:quick - Fast leak detection (20 iterations)
  • npm run leak:watch - Continuous monitoring
  • npm run leak:analyze - Comprehensive analysis with reports

Understanding Results

  • Heap Memory: JavaScript objects (should stabilize)
  • RSS Memory: Total process memory (watch for growth > 100%)

Look for consistent upward trends that indicate memory leaks.