Dev builds AI-written tool to visualize agent traces in Perfetto and find slow tool calls

DanielLockyer · x · 2026-10-12

Daniel Lockyer had AI write him a tool that converts agent traces into Perfetto trace format, letting him visualize specific sessions on a timeline.

The screenshot shows flame graphs of parallel agents executing tool calls, making it easy to spot which calls are slow. He plans to keep working with AI to identify tool calls worth optimizing — a practical trick for agent performance tuning.

Related event: Dev Uses AI to Build Tool Turning Agent Traces into Perfetto Visualizations(2 posts)→

Original post →

More from coding & agent

coding & agent channel →