|
13 | 13 | - **Honest numbers.** You get total, self and synchronous time for each call. Detailed mode flags calls that blocked the event loop. |
14 | 14 | - **Production-ready.** Stats are bounded per label (p50/p95/p99), sampling is built in, and `enabled: false` makes tracking a pass-through costing ~40 ns. |
15 | 15 | - **Gets data out.** Chrome/Perfetto traces, OpenTelemetry spans, JSON lines, or your own `onComplete` hook. |
16 | | -- **Zero-effort coverage.** One line tracks every `fetch`, HTTP request or query, for pg, mysql2, MongoDB/Mongoose, ioredis, Prisma, better-sqlite3 (and Drizzle on any of these drivers) and the AWS SDK. |
| 16 | +- **Zero-effort coverage.** One line tracks every `fetch`, HTTP request or query, for pg, mysql2, mysql, MongoDB/Mongoose, ioredis, Prisma, better-sqlite3 (and Drizzle on any of these drivers) and the AWS SDK. |
17 | 17 | - **Built for teams.** It feeds Prometheus, catches regressions in CI (`traceperf compare --fail`), shows up in Chrome DevTools, and produces HTML flame-chart reports. |
18 | 18 | - **Fits your stack.** Express, Fastify, Hono, Koa, NestJS, Next.js route handlers, decorators, CommonJS, ESM, TypeScript, browsers, Node.js 14+, Bun, Deno, Cloudflare Workers and Vercel Edge. There are no runtime dependencies. |
19 | 19 |
|
@@ -125,7 +125,7 @@ Database clients are only instrumented when your `package.json` lists them. Conf |
125 | 125 | | `TRACEPERF_THRESHOLD=50` | Only report calls taking at least 50 ms | |
126 | 126 | | `TRACEPERF_SAMPLE_RATE=0.1` | Track 10% of requests | |
127 | 127 | | `TRACEPERF_IGNORE=^/health` | Regular expression of request paths not to track | |
128 | | -| `TRACEPERF_DISABLE=http,fetch` | Skip targets: `server`, `http`, `fetch`, `pg`, `mysql2`, `mongodb`, `ioredis`, `prisma`, `better-sqlite3` | |
| 128 | +| `TRACEPERF_DISABLE=http,fetch` | Skip targets: `server`, `http`, `fetch`, `pg`, `mysql2`, `mongodb`, `ioredis`, `prisma`, `better-sqlite3`, `mysql` | |
129 | 129 | | `TRACEPERF_SILENT=1` / `TRACEPERF_SUMMARY=0` / `TRACEPERF_QUIET=1` | No per-request trees / no exit summary / no startup line | |
130 | 130 | | `TRACEPERF_ENABLED=0` | Load nothing | |
131 | 131 |
|
|
0 commit comments