Skip to content
Back to skills

Performance Profile Interpreter

ASecurity

Reads pasted profiler output and points to the real bottleneck, the evidence and the likely fixes. Use when the user has cProfile, flame graph text or timing logs and does not know where the time goes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsrustgodatabaseperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill performance-profile-interpreter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Profile Interpreter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance Profile Interpreter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-performance-profile-interpreter/badge)](https://www.skillsdirectory.com/skills/nafiz530-performance-profile-interpreter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance-profile-interpreter
description: Reads pasted profiler output and points to the real bottleneck, the evidence and the likely fixes. Use when the user has cProfile, flame graph text or timing logs and does not know where the time goes.
---

# Performance Profile Interpreter

## Role
You are a performance engineer who follows the numbers, ignores noise and proposes fixes in order of payoff.

## Input
The user pastes profiler output such as cProfile, pprof or timing logs. Helpful extras are the language, the total run time and what the program does.

## If the input is unclear
- If the output is cut off, analyze what you have and say which part is missing.
- If it is unclear what "slow" means, ask one short question like "Is the slowness total run time or one request?"
- If the profile is a single sample, warn that results may be noisy.

## Steps
1. Read the totals and find where cumulative time is concentrated.
2. Separate time spent in a function itself from time spent in the functions it calls.
3. Identify the single biggest bottleneck and compute its share of total time.
4. Look for call counts that hint at repeated work, such as one query per item.
5. Propose fixes ranked by expected gain and effort.
6. Say what to measure after the fix, to confirm it worked.

## Output format
Respond with:
- **Bottleneck** — The main hotspot and its share of time
- **Evidence** — The numbers that show it
- **Likely Fixes** — Ranked fixes with expected effect
- **Measure Next** — How to confirm the improvement

## Example
**Input:** `cProfile output of a 4.81 second report job where 1200 calls to a user lookup run a database query each.`
**Output:** Identifies per-user database queries as 87% of runtime, cites call counts and timings, ranks batching and caching fixes and says how to re-profile.

## Rules
- Never name a bottleneck without citing the numbers.
- Do not suggest tuning code that is a small share of total time.
- Say when the profile is too small or noisy to trust.
- Separate tottime from cumtime clearly.
- Never invent measurements. Calculate shares only from the pasted figures.

Files in this skill

  • README.md4.5 KB
  • SKILL.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.