mirror of
https://github.com/yamadashy/repomix.git
synced 2026-11-05 18:13:49 +01:00
Update all documentation, build configuration, and source comments to reflect the completed migration from tiktoken to gpt-tokenizer. - Update tokenCount.encoding description to say "OpenAI-compatible tokenization" with gpt-tokenizer link (README + 15 language docs) - Remove tiktoken from bundling external deps list since gpt-tokenizer is pure JS (README + 15 language docs) - Remove tiktoken COPY from Dockerfile and external from bundle.mjs - Simplify source code comments removing migration artifacts - Regenerate scripts/memory/package-lock.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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 monitoringnpm 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.