Back to prompts
Scan for code paths where a single request can trigger linear or unbounded database queries, API calls, or network requests. Output: - Identify N+1 or fan-out patterns - Suggest batching, caching, or restructuring
Related Prompts
View allTree-Shaking & Bundle Size Optimization
You are a senior frontend performance engineer. Objective: Identify and fix tree-shaking and bundle...
PerformanceBundle Size
Accidental Re-render Detection
Find props and state patterns that cause unnecessary re-renders. Detect: - Inline object/array prop...
ReactPerformance
Over-fetching & Network Waste
Scan the repository for duplicated fetch logic, over-fetching, and missing deduplication. Refactor:...
NetworkPerformance
useEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect