convex-performance-audit

Audit Convex reads, subscriptions, OCC conflicts, and function budgets.

135|45|Updated Oct 28, 2023
One-click install
npx skills add https://github.com/get-convex/templates --skill convex-performance-audit-get-convex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-performance-audit
Source: https://github.com/get-convex/templates/tree/main/template-react-vite/.agents/skills/convex-performance-audit
Command: npx skills add https://github.com/get-convex/templates --skill convex-performance-audit-get-convex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose Convex performance problems such as slow reads, high read amplification, reactive subscriptions, OCC conflicts, and budget overruns by guiding structured audits and targeted fixes.

Core Features & Use Cases

  • Gather signals from CLI insights or code audits to identify the strongest performance bottleneck.
  • Apply proven reference patterns to reduce reads, optimize subscriptions, and lower conflict rates.
  • Use migration-safe workflows to escalate large optimizations without risking production health.

Quick Start

Run the Convex performance audit on your app to identify the strongest bottleneck and apply the recommended fixes.

Frequently Asked Questions about convex-performance-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow Convex reads and high read amplification?

Diagnose slow Convex reads by gathering signals from CLI insights or code audits to identify the strongest performance bottleneck, then applying proven reference patterns to reduce read amplification.

What causes excessive reactive invalidation in Convex subscriptions?

Excessive reactive invalidation in Convex subscriptions is caused by inefficient query patterns. You can optimize subscriptions by applying targeted reference patterns to lower conflict rates and reduce unnecessary data fetching.

How do I fix OCC conflicts and budget overruns in Convex functions?

Fix Convex OCC conflicts and budget overruns by auditing function budgets and conflict rates, then applying concrete fixes ordered by scope with guardrails to systematically resolve the issues.

Can I use this audit for Convex migrations and backfills in scheduled tasks?

Yes, you can use this audit for Convex migrations and backfills across client, server, and scheduled tasks by applying migration-safe workflows to escalate large optimizations without risking production health.

What's the best way to resolve Convex performance bottlenecks without breaking production?

The best way to resolve Convex performance bottlenecks safely is to apply concrete fixes ordered by scope with guardrails and escalation steps, using migration-safe workflows to protect production health.