Files
repomix-mirror/scripts/memory/README.md
Kazuki Yamada 724440e637 refactor: Move memory benchmarks from benchmarks/ to scripts/
Relocated memory testing tools from benchmarks/memory/ to scripts/memory/
to better align with project structure conventions. Updated GitHub Actions
workflow paths accordingly to maintain CI functionality.
2025-09-01 23:29:47 +09:00

34 lines
641 B
Markdown

# Memory Benchmarks
Memory usage monitoring tools for repomix.
## Setup
```bash
cd scripts/memory
npm install
```
## Quick Start
```bash
# 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.