- Change idx_financing_plans_active to partial index (WHERE active = true)
to avoid useless B-tree index on low-cardinality boolean column
- Scope timingMiddleware to /api routes only (was globally registered,
which caused noise from static asset requests)
- Add unit tests for timing middleware (5 tests covering: next() call,
timing log format, SLOW warning threshold, fast-request path, status code)
Nightshift-Task: perf-regression
Nightshift-Ref: https://github.com/marcus/nightshift