### Problem Identifying CPU bottlenecks in production FastAPI process requires non-intrusive sampling profiler. ### Acceptance Criteria - [ ] Document `py-spy` profiling command in `CONTRIBUTING.md`. - [ ] Generate SVG flamegraph of API process during load test. - [ ] Identify and optimize top CPU-consuming function calls.
Problem
Identifying CPU bottlenecks in production FastAPI process requires non-intrusive sampling profiler.
Acceptance Criteria
py-spyprofiling command inCONTRIBUTING.md.