Your API has N+1 queries. In production.

PerfGuard scans your code for performance anti-patterns — N+1 queries, synchronous I/O, missing pagination, memory leaks, and unbounded operations. Before your users notice.

$ clawhub install perfguard click to copy
$ perfguard scan src/
 
⚡ PerfGuard: Scanning 89 source files...
 
  !! CRITICAL   src/api/users.ts:23      N+1 query in loop
     → Use Promise.all() or batch the database call
 
  !  HIGH        src/services/export.py:45  readFileSync in server
     → Replace with async readFile
 
  .. MEDIUM     src/components/List.tsx:12  Missing React.memo
     → Wrap pure component in React.memo()
 
  Performance Score: 58/100 (D)
  17 anti-patterns found (2 critical, 7 high, 8 medium)

One N+1 query. 10,000 unnecessary database calls.

Performance anti-patterns hide in plain sight. A query in a loop, a sync read on the hot path, an unbounded fetch. PerfGuard finds them before your monitoring dashboard lights up red.

73%
of APIs have N+1 queries
40x
slowdown from sync I/O on hot paths
$100K+
revenue lost per hour of downtime

Catch every performance anti-pattern

N+1 Detection

Queries in loops, missing eager loading, unbatched operations. The most common performance killer, caught before it ships.

🔄

Sync/Async Analysis

Sync I/O in async contexts, missing Promise.all, blocking operations on the hot path that tank your throughput.

📦

Bundle Analysis

Lodash imports pulling in full libraries, unshaken modules, missing code splitting. Ship less JavaScript to your users.

🧠

Memory Patterns

Event listener leaks, unbounded caches, missing cleanup in components and services that slowly eat your server memory.

📄

Pagination Checks

Unbounded queries, missing LIMIT clauses, infinite scroll traps. Prevent fetching 100K rows when you only need 20.

📊

Performance Budget

Set thresholds, track scores over time, gate CI/CD deployments. Never let a performance regression reach production.

How PerfGuard compares

The only pre-production performance scanner that runs 100% locally.

Feature PerfGuard Datadog APM ($31/host) New Relic ($0.30/GB) Lighthouse CI ($0)
Price Free / $19 / $39 $31/host/mo $0.30/GB Free (limited)
Pre-production Yes No (runtime) No (runtime) Build only
Runs Locally Yes No No Yes
N+1 Detection Yes Yes (runtime) Yes (runtime) No
Code-level Yes No No No
Pre-commit Hooks Yes No No No
Zero Config Yes No No No
Multi-language Yes Yes Yes No
Setup Time 30 seconds 30+ min 20+ min 10 min

Simple, transparent pricing

Start free. Upgrade when your codebase grows.

Free
$0
  • Scan up to 5 files
  • Performance score + grade
  • 30+ anti-patterns
  • CLI output
Install Free
Team
$39/mo
  • Everything in Pro
  • Performance budgets
  • Trend tracking
  • CI/CD gates
  • Comparison reports
Get Team

Get performance tips & PerfGuard updates

No spam. One email per week max. Unsubscribe anytime.

Your users already notice the slowness.

Install PerfGuard in 30 seconds. Fix performance before it costs you.

$ clawhub install perfguard click to copy