Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alirezarezvani avatar

Performance Profiler

  • 631 installs
  • 23.5k repo stars
  • Updated July 17, 2026
  • alirezarezvani/claude-skills

performance-profiler is a Claude Code skill that systematically identifies CPU, memory, database, and bundle-size bottlenecks in Node.js, Python, and Go applications before release.

About

performance-profiler is an engineering skill for systematic performance profiling across Node.js, Python, and Go services. It covers CPU flamegraphs, py-spy and pprof profiling, heap snapshots, memory leak detection, GC pressure analysis, webpack bundle analysis, database query optimization, and load testing with k6 and Artillery. Developers reach for performance-profiler before releases or expected traffic spikes when latency, memory growth, or bundle size regressions need evidence-backed fixes. The skill enforces measure-before-and-after discipline, producing flamegraphs, heap reports, bundle breakdowns, and load-test results rather than speculative micro-optimizations across backend and frontend layers.

  • CPU profiling with flamegraphs for Node.js, py-spy for Python, and pprof for Go
  • Memory profiling including heap snapshots, leak detection, and GC pressure analysis
  • Bundle analysis using webpack-bundle-analyzer and Next.js bundle analyzer
  • Database optimization with EXPLAIN ANALYZE, slow query logs, and N+1 detection
  • Load testing with k6 scripts and Artillery scenarios plus before/after measurement

Performance Profiler by the numbers

  • 631 all-time installs (skills.sh)
  • Ranked #234 of 1,440 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/alirezarezvani/claude-skills --skill performance-profiler

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs631
repo stars23.5k
Security audit3 / 3 scanners passed
Last updatedJuly 17, 2026
Repositoryalirezarezvani/claude-skills

How do you profile CPU and memory bottlenecks before release?

Systematically identify CPU, memory, database, and bundle-size bottlenecks before a release or traffic spike.

Who is it for?

Backend and full-stack developers preparing for release who need measured CPU, memory, database, and bundle profiling across Node.js, Python, or Go.

Skip if: Teams needing only frontend Lighthouse audits without server profiling, or projects with no performance regression symptoms to investigate.

When should I use this skill?

The user reports slow APIs, memory leaks, large webpack bundles, or needs k6 load tests and flamegraphs before a traffic spike.

What you get

Flamegraphs, heap snapshots, bundle size reports, optimized database queries, and k6 or Artillery load test results.

  • CPU flamegraphs
  • heap snapshot reports
  • k6 or Artillery load test results

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

How it compares

Pick performance-profiler over bundle-splitting when bottlenecks may span CPU, memory, databases, and bundles rather than only initial JavaScript chunk size.

FAQ

Which runtimes does performance-profiler support?

performance-profiler supports Node.js, Python, and Go applications. CPU profiling uses flamegraphs for Node.js, py-spy for Python, and pprof for Go, with heap snapshots and GC analysis for memory issues.

Which load test tools does performance-profiler use?

performance-profiler runs load tests with k6 and Artillery to validate throughput and latency before release. The skill also analyzes webpack bundles and database queries, always measuring performance before and after changes.

Is Performance Profiler safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDbackenddevopsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.