summaryrefslogtreecommitdiff
path: root/internal/profiling
AgeCommit message (Collapse)Author
2025-06-27Add comprehensive profiling documentation and clean up unused dependenciesPaul Buetow
- Added detailed README.md for internal/profiling package documenting: - Architecture and core components - Usage instructions for command-line and programmatic access - Profile output formats and analysis techniques - Best practices and troubleshooting guides - Integration with CI/CD pipelines - Removed dprofile binary (obsolete, replaced by built-in profiling) - Cleaned up go.mod to remove unused pprof dependency The profiling package is now fully documented to help developers understand and utilize DTail's performance analysis capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-26feat: add profiling framework with command echoingPaul Buetow
Created a comprehensive profiling framework for dtail commands (dcat, dgrep, dmap) to analyze CPU usage and memory allocations. The framework now prints all executed commands to stdout for full transparency. Key features: - Integrated Go profiling (CPU, memory, allocations) into all three commands - Created profile.sh bash script for analyzing pprof profiles - Added multiple Makefile targets for different profiling scenarios - Automated profiling scripts with command echoing - Support for different data sizes (quick, normal, full) - Special handling for dmap MapReduce format All profiling commands are now echoed to stdout before execution, making it easy to understand what the framework is doing and reproduce commands manually. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>