perf-regression/spot-regressions #7

Open
iswa wants to merge 3 commits from perf-regression/spot-regressions into master

3 Commits

Author SHA1 Message Date
239c8596a7 Fix review issues: partial index, middleware scope, add timing tests
- 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
2026-03-20 02:48:32 -04:00
76a9559514 Docs: update CLAUDE.md with perf tooling notes
Nightshift-Task: perf-regression
Nightshift-Ref: https://github.com/marcus/nightshift
2026-03-20 02:45:14 -04:00
0a1e3666ef Add performance regression detection: indexes, timing middleware, benchmark script
Nightshift-Task: perf-regression
Nightshift-Ref: https://github.com/marcus/nightshift
2026-03-20 02:44:57 -04:00