performance-profiler
What it does
This skill helps find performance problems in Node.js, Python and Go apps, such as slow pages, memory leaks and large bundles. It is for developers who want to fix speed issues based on measurements.
When to use it
- βWhen an endpoint or page is slow and you do not know the cause.
- βWhen memory use keeps growing over time in an app.
- βWhen your web app bundle got much bigger after adding packages.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/performance-profiler/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βOur checkout endpoint is slow. Find the bottleneck and measure the change after we fix it.β
5 new skills a week. 1 minute to read.
How it works
It measures the app first, looks for common slow spots like heavy queries or CPU use, makes a change, and then measures again to confirm the improvement.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Performance Profiler
Tier: POWERFUL
Category: Engineering
Domain: Performance Engineering
Overview
Systematic performance profiling for Node.js, Python, and Go applications. Identifies CPU, memory, and I/O bottlenecks; generates flamegraphs; analyzes bundle sizes; optimizes database queries; detects memory leaks; and runs load tests with k6 and Artillery. Always measures before and after.
Core Capabilities
- CPU profiling β flamegraphs for Node.js, py-spy for Python, pprof for Go
- Memory profiling β heap snapshots, leak detection, GC pressure
- Bundle analysis β webpack-bundle-analyzer, Next.js bundle analyzer
- Database optimization β EXPLAIN ANALYZE, slow query log, N+1 detection
- Load testing β k6 scripts, Artillery scenarios, ramp-up patterns
- Before/after measurement β establish baseline, profile, optimize, verify
When to Use
- App is slow and you don't know where the bottleneck is
- P99 latency exceeds SLA before a release
- Memory usage grows over time (suspected leak)
- Bundle size increased after adding dependencies
- Preparing for a traffic spike (load test before launch)
- Database queries taking >100ms
Quick Start
# Analyze a project for performance risk indicators
python3 scripts/performance_profiler.py /path/to/project
# JSON output for CI integration
python3 scripts/performance_profiler.py /path/to/project --json
# Custom large-file threshold
python3 scripts/performance_profiler.py /path/to/project --large-file-threshold-kb 256
Golden Rule: Measure First
# Establish baseline BEFORE any optimization
# Record: P50, P95, P99 latency | RPS | error rate | memory usage
# Wrong: "I think the N+1 query is slow, let me fix it"
# Right: Profile β confirm bottleneck β fix β measure again β verify improvement
Node.js Profiling
β See references/profiling-recipes.md for details
References
- references/profiling-recipes.md β Node.js/Python/Go profiling commands, flamegraph generation, heap snapshots
- references/optimization-playbook.md β before/after measurement template, quick-win optimization checklist (DB/Node/bundle/API), common pitfalls, best practices
FAQ
Which languages does it support?
It supports Node.js, Python and Go applications.
Can it test how the app handles lots of users?
Yes, it can write and run load tests with k6 and Artillery.
Does it only guess at problems?
No, it measures before and after each change so you can see the real effect.
Details
Original description by the author
Use for a slow endpoint, memory leak, CPU spike, large bundle or performance budget in Node.js, Python or Go, before optimizing. Measures before and after with performance_profiler.py, flamegraphs and k6 load tests.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9595
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.