convex-performance-audit

Audit Convex application reads, subscriptions, write contention, and function limits.

2|4|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/xrehpicx/vector --skill convex-performance-audit-xrehpicx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-performance-audit
Source: https://github.com/xrehpicx/vector/tree/main/.agents/skills/convex-performance-audit
Command: npx skills add https://github.com/xrehpicx/vector --skill convex-performance-audit-xrehpicx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a framework for diagnosing and addressing performance issues in Convex applications, including reads, subscriptions, write contention, and function limits.

Core Features & Use Cases

  • Performance Audit: Identify slow features, insights findings, OCC conflicts, and read amplification issues.
  • Code-Based Diagnostics: Utilize signals from code and runtime insights to diagnose specific problem classes.
  • Guided Fix Implementation: Follow step-by-step guidelines to apply performance optimizations.
  • Use Case: If you experience slow response times in a Convex app, use this Skill to identify and resolve performance bottlenecks.

Quick Start

Run the convex-performance-audit skill on your Convex application to gather insights and begin optimizing performance.

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 response times in my Convex application?

To diagnose slow Convex application response times, you can run a performance audit to identify issues like read amplification, subscription bottlenecks, and write contention. This process utilizes code-based diagnostics and runtime insights to pinpoint specific performance problems.

What causes write contention and OCC conflicts in Convex databases?

Write contention and OCC conflicts in Convex databases occur when multiple transactions attempt to modify the same data simultaneously, causing aborts and retries. A performance audit can identify these specific conflict patterns through code-based diagnostics and runtime signals.

How do I audit Convex subscriptions for read amplification issues?

You can audit Convex subscriptions for read amplification by analyzing runtime insights to detect excessive data fetching. The performance audit process evaluates subscription efficiency and provides structured, code-based diagnostics to guide necessary optimizations.

Do I need a specific runtime environment to perform a Convex performance audit?

Yes, you need the Convex runtime environment and related tooling to execute a performance audit. The diagnostic process relies on gathering live runtime insights and signals from your deployed application code to accurately identify and resolve performance bottlenecks.

What is the best way to optimize Convex function limits and database reads?

The best way to optimize Convex function limits and database reads is through a structured performance audit that identifies slow features and read amplification. It provides step-by-step guidelines to implement code-based fixes and improve overall application efficiency.