perf-profile

Identify performance bottlenecks and prioritize optimization recommendations in codebases.

18|5|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/wsman/MY-DOGE-MICRO --skill perf-profile-wsman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-profile
Source: https://github.com/wsman/MY-DOGE-MICRO/tree/main/.agents/skills/perf-profile
Command: npx skills add https://github.com/wsman/MY-DOGE-MICRO --skill perf-profile-wsman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify where a product or game is losing performance, estimate the likely impact, and turn those findings into prioritized optimization recommendations.

Core Features & Use Cases

  • Structured bottleneck analysis: Reviews API handlers, middleware, database access, memory growth, I/O paths, and hot code paths to locate likely slowdowns.
  • Budget-based evaluation: Compares current behavior against performance targets such as latency, throughput, memory, load time, and frame-time budgets.
  • Prioritized recommendations: Produces a ranked list of fixes, quick wins, and areas that need runtime profiling before action is taken.
  • Use case: Use it when a service feels slow, a query is expensive, or a system needs a clear performance report before optimization work begins.

Quick Start

Ask for a performance profile of the full system or a specific subsystem and provide any known latency, memory, or throughput targets.

Frequently Asked Questions about perf-profile

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

FAQPage Schema
How do I identify performance bottlenecks in my codebase?

A performance bottleneck analysis reviews API handlers, middleware, database access, and hot code paths to locate slowdowns. It compares current behavior against latency and memory budgets to produce prioritized optimization recommendations with estimated impact.

What is the best way to prioritize code optimization fixes?

The best way to prioritize code optimization fixes is by ranking identified bottlenecks against performance budgets. This generates a prioritized list of quick wins and areas requiring runtime profiling, estimating the impact of each fix before you begin work.

How do I profile API latency and database query performance?

Profiling API latency and database queries requires a full-system or single-system evaluation that inspects I/O paths and middleware. It compares current response times against established throughput and latency budgets to find expensive queries and slowdowns.

Can I use static code inspection to find memory usage bottlenecks?

Yes, read-only static inspection can find memory usage bottlenecks by reviewing memory growth patterns and I/O paths. This approach locates likely slowdowns without executing code, comparing current behavior against memory budgets to guide optimization.

Does this performance profiling approach work for game frame-time analysis?

Yes, this performance profiling approach works for game frame-time analysis by applying budget-based evaluation to game codebases. It identifies hot code paths and evaluates frame-time against target budgets to produce prioritized optimization recommendations.

When do I need runtime profiling after a static performance review?

You need runtime profiling after a static performance review when a suspected bottleneck requires dynamic execution data to confirm. The review explicitly flags these areas, separating confirmed quick wins from subsystems needing deeper runtime analysis before action.