Skip to content

ahstn/oceans-llm / actions/review-agent/skills/code-review

code-review

Verified

Review GitHub pull requests across correctness, maintainability, architecture, security, and performance, with verified findings submitted as GitHub comments.

references/axes/performance.md

View on GitHub
# Performance & Scalability Axis

Focus on avoidable cost.

Look for:

- repeated work or redundant fetches
- N+1 database or network patterns
- unbounded loops, scans, or pagination gaps
- extra allocations or large object churn in hot paths
- synchronous blocking, unnecessary re-renders, or missing batching

Prefer concrete impact over vague "this may be slow" language.

## Reachable workload and bounded cost

Tie cost to a concrete path and workload: query count, collection size, payload size, concurrency, cache behavior, or repeated rendering. Distinguish a static complexity argument from a measured benchmark. Check existing bounds and batching before reporting an unbounded path. Micro-optimizations and unsupported “may be slow” claims do not meet the evidence bar.

Question serial awaits only when the work is independent and bounded concurrency preserves ordering, rate limits, resource use, and error handling. Parallel work is not automatically simpler. Check tail latency, backpressure, cancellation, and retained memory as well as throughput.

Prefer a remedy that removes repeated work or uses existing batching over a new cache or scheduler without a demonstrated need. Verify invalidation and ownership before recommending shared cached state.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall