Files
code-review-graph/code-review-graph-main/skills/unified-review/references/specialists/performance.md
T

593 B
Raw Blame History

Performance Specialist

Focus: performance and resource efficiency in the diff.

  • N+1 queries — missing eager loading
  • Unindexed lookups in hot loops
  • O(n×m) lookups in views/loops
  • Blocking calls in async paths (sync subprocess, requests, sleep)
  • Connection pool exhaustion, unbounded retries
  • Bundle/asset size regressions (frontend)
  • Redundant recomputation / missing caching

Output JSON lines: {"severity":"CRITICAL|INFORMATIONAL","confidence":N,"path":"file","line":N,"category":"performance","summary":"...","fix":"...","source":"performance"}