aj-geddes avatar

Performance Regression Debugging

When your app suddenly slows down after a deployment, this walks you through comparing baseline metrics against current performance, identifying what changed, and fixing it. It covers the full cycle: detecting regressions through measurement (response times, memory usage, bundle size), profiling to find the root cause, verifying your fixes actually work, and setting up prevention so it doesn't happen again. The approach is systematic rather than guessing. You get reference guides for each phase plus patterns for continuous monitoring. Best used when you have metrics showing degradation and need a structured debugging process rather than ad hoc investigation.

skills.sh installs
449
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill performance-regression-debugging --agent claude-code

Installs into .claude/skills of the current project.

Files

Performance Regression Debugging

Table of Contents

Overview

Performance regressions occur when code changes degrade application performance. Detection and quick resolution are critical.

When to Use

  • After deployment performance degrades
  • Metrics show negative trend
  • User complaints about slowness
  • A/B testing shows variance
  • Regular performance monitoring

Quick Start

Minimal working example:

// Before: 500ms response time
// After: 1000ms response time (2x slower = regression)

// Capture baseline metrics
const baseline = {
  responseTime: 500, // ms
  timeToInteractive: 2000, // ms
  largestContentfulPaint: 1500, // ms
  memoryUsage: 50, // MB
  bundleSize: 150, // KB gzipped
};

// Monitor after change
const current = {
  responseTime: 1000,
  timeToInteractive: 4000,
  largestContentfulPaint: 3000,
  memoryUsage: 150,
  bundleSize: 200,
};

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1aj-geddes avatarsecrets-managementaj-geddes/useful-ai-promptsImplement secrets management with HashiCorp Vault, AWS Secrets Manager, or Kubernetes Secrets for secure credential storage and rotation.449skills.sh installs
2brianrwagner avatarcold-outreach-sequencebrianrwagner/ai-marketing-claude-code-skillsBuild personalized cold outreach sequences for LinkedIn and email. Use when someone needs to reach prospects, warm up cold leads, or build a systematic outreach449skills.sh installs
3muratcankoylan avatarcontext-optimizationmuratcankoylan/agent-skills-for-context-engineeringWhen you're burning tokens on massive tool outputs or hitting context limits mid-task, this skill gives you the playbook: observation...449skills.sh installs
4schalkneethling avatarfrontend-securityschalkneethling/webdev-agent-skillsfrontend security449skills.sh installs
5aj-geddes avatarconfiguration-managementaj-geddes/useful-ai-promptsManage application configuration including environment variables, settings management, configuration hierarchies, secret management, feature flags, and 12-facto448skills.sh installs
6jwynia avatarreverse-outlinerjwynia/agent-skillsReverse-engineer published books into structured scene-by-scene outlines for study. Use when analyzing craft, learning story structure from masters, or creating448skills.sh installs