nestjs-performance

Installation
SKILL.md

Performance Tuning

Priority: P1 (OPERATIONAL)

Workflow: Performance Audit

  1. Switch to Fastify — Replace Express with FastifyAdapter for ~2x throughput.
  2. Enable compression — Add Gzip/Brotli middleware.
  3. Audit provider scopes — Ensure no unintended REQUEST scope chains.
  4. Add query projections — Use select: [] on all repository queries.
  5. Profile overhead — Benchmark Total Duration, DB Execution, and API Overhead.

Fastify + Compression Setup

See implementation examples

  • Keep-Alive: Configure http.Agent keep-alive settings to reuse TCP connections for upstream services.

Scope & Dependency Injection

Installs
1
GitHub Stars
521
First Seen
14 days ago
nestjs-performance — hoangnguyen0403/agent-skills-standard