(label: string, metric: Record<string, number>)
| 129 | } |
| 130 | |
| 131 | function logMetric(label: string, metric: Record<string, number>): void { |
| 132 | if (process.env.TN_PERF_LOG === "1") { |
| 133 | process.stderr.write(`[dependency-cache-perf] ${label} ${JSON.stringify(metric)}\n`); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | describe("DependencyCache performance smoke", () => { |
| 138 | it("measures large-graph build, edit, and read-heavy paths", async () => { |
no outgoing calls
no test coverage detected