Files
bun.sh/examples
Claude Bot 2097b938c5 Add trace-analysis.js example tool
Created a comprehensive trace analysis tool that demonstrates the
value of --trace for debugging and understanding applications.

Features:
- Timeline visualization with key events
- Operations breakdown by namespace
- File system analysis (files accessed, bytes transferred)
- HTTP analysis (endpoints, latency, response sizes)
- Performance insights (slowest operations)
- Automated recommendations (repeated reads, excessive ops)

This tool shows how AI agents can use trace data to:
- Understand application behavior without reading code
- Identify performance bottlenecks
- Detect inefficient patterns (repeated reads, API calls in loops)
- Get file/network I/O statistics

Example output includes formatted reports with emojis, charts,
and actionable insights.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-07 03:12:50 +00:00
..