diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-04 15:47:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-04 15:47:38 +0300 |
| commit | f18ef1d5d194a7759ffd60537b17948f0243c624 (patch) | |
| tree | 94c7aeee15220f756a97ee5b00cd7d1346464b1f /internal/ssh | |
| parent | d37f32deb6cd6a575cc169adf1a1c1fba44e53d9 (diff) | |
fix: add profiling support to dtail and improve PGO workflow
- Add profiling support to dtail command (was missing)
- Import profiling package
- Add profile flags and profiler initialization
- Add metrics logging for startup/shutdown
- Fix PGO profile generation for dtail
- Create growing log file simulation for realistic profiling
- Add regex filtering to generate more CPU work
- Handle empty profiles gracefully
- Improve PGO test data generation
- Add growing_log file type for dtail testing
- Generate varied log levels (INFO/WARN/ERROR/DEBUG)
- Increase log generation rate for better profiling
Note: dtail and dserver may generate minimal CPU profiles as they are
primarily I/O-bound operations. PGO is most effective for CPU-intensive
operations like dgrep pattern matching and dmap data processing.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/ssh')
0 files changed, 0 insertions, 0 deletions
