DeepSeek feat: extract performance monitoring into an opt-in tool and improve error handling in teacher routes

This commit is contained in:
krizam
2026-10-30 22:29:33 +05:30
parent fcc1d7ecaf
commit 536fdc7e84
9 changed files with 291 additions and 188 deletions
+6
View File
@@ -0,0 +1,6 @@
// Opt-in loader: `node --import ./tools/perf-hooks.mjs src/index.ts` (see `yarn perf`).
// Keeps all performance instrumentation out of src/.
import { register, requestTimer } from './performance.ts';
register();
requestTimer();