Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
performance-profiler
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when investigating slow endpoints, planning performance budgets, or hunting memory leaks in production applications.
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
--- name: performance-profiler description: Use when investigating slow endpoints, planning performance budgets, or hunting memory leaks in production applications. category: Engineering version: 1.0.0 tools: [] --- # Performance Profiler **Tier:** POWERFUL **Domain:** Performance Engineering 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. ## 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; bottleneck is unknown - P99 latency exceeds SLA before release - Memory usage grows over time (suspected leak) - Bundle size increased after adding dependencies - Preparing for traffic spike (load test before launch) - Database queries taking >100ms ## Golden Rule: Measure First Establish baseline BEFORE optimization: - Record P50, P95, P99 latency - Record RPS, error rate, memory usage - Profile → confirm bottleneck → fix → measure again → verify improvement ## Node.js Profiling Workflow Use Node.js Inspector for CPU and heap snapshots: - CPU: `node --prof`, then `node --prof-process` for flamegraph - Memory: heap snapshots via DevTools - Streaming: use clinic.js or 0x for real-time flamegraphs ## Database Optimization - Run `EXPLAIN ANALYZE` on slow queries - Add indexes on frequently filtered columns - Detect N+1 queries via query logging - Use connection pooling ## Load Testing - k6 for scripted load tests with realistic user flows - Artillery for simpler, declarative scenarios - Ramp up gradually; measure P50/P95/P99 latency under load - Target: maintain SLA under peak traffic ## Bundle Analysis - webpack-bundle-analyzer for JS/CSS sizes - Next.js built-in analyzer for app router - Identify unused dependencies - Set bundle size budgets in CI
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/performance-profiler/SKILL.md
Open Source LinkRelated Skills
a11y-audit
Use when auditing WCAG 2.2 Level A/AA accessibility, fixing violations in React, Next.js, Vue, Angular...
Engineeringadversarial-reviewer
Use when reviewing recent code changes or a PR before merge and you want a genuinely critical review, not...
Engineeringagent-designer
Use when architecting multi-agent systems, selecting orchestration patterns, or evaluating agent performance.
Engineeringagent-harness
Use when building bounded agentic loops with verified task execution and state machines.