Profile endpoint

From stbenjam/skillsaw · View interactive version

Profile endpoint is an AI agent skill from the GitHub repository stbenjam/skillsaw. Latency profiling for a single HTTP endpoint.

How to use this skill

Skill file

Profile Endpoint

Attributes an endpoint's p99 to database time, downstream calls, and

in-process work.

Capturing a profile

Enable the continuous profiler for the target deployment, drive load with

loadgen, and export a 60-second window. The flags are listed in [the

loadgen reference](tools/loadgen.md).

Reading it

Compare the flame graph against the trace waterfall. Time that appears in

the trace but not the profile is time spent waiting on something else,

usually the database. The trace guide covers the

waterfall view, and [the query

catalogue](docs/slow-queries.md) the common offenders.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.