analyze_perf
Review per-tool latency and cache-hit statistics: p50/p95/max latency, error rate, slowest tools, and cache hit rates from session or persistent windows.
Instructions
Per-tool latency and cache-hit telemetry. Returns p50/p95/max latency and error rate per tool, the slowest tools by p95, and result-cache hit rates (aggregate / get_correlations / get_data_hotspots are the cached tools). window=session reads the always-on in-memory ring; window=1h/24h/7d/all reads the persistent SQLite sink (requires JDATAMUNCH_PERF_TELEMETRY=1). Sibling of jcodemunch / jdocmunch analyze_perf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Max slowest-tools / coldest-caches returned. | |
| tool | No | Restrict the analysis to a single tool name. | |
| window | No | session = in-memory ring; others read the persistent perf db. | session |