perf-core

Profile software performance with perf, valgrind, strace, and hyperfine.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/kunallimaye/lib-agents --skill perf-core
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: perf-core
Source: https://github.com/kunallimaye/lib-agents/tree/main/skills/perf-core
Command: npx skills add https://github.com/kunallimaye/lib-agents --skill perf-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured methodology and universal tools to systematically identify and resolve performance bottlenecks in software.

Core Features & Use Cases

  • Performance Methodology: Guides users through a repeatable Measure-Profile-Identify-Optimize-Verify loop.
  • Universal Tools: Introduces essential command-line tools like hyperfine, perf, flamegraph, valgrind, and strace.
  • Flame Graph Interpretation: Explains how to read and understand flame graphs for bottleneck identification.
  • Regression Testing: Defines principles for integrating performance testing into CI/CD pipelines.
  • Use Case: When a web service experiences slow response times, this Skill provides the framework and tools to pinpoint the exact functions or system calls causing the latency.

Quick Start

Use the perf-core skill to establish a performance analysis methodology for your application.

Frequently Asked Questions about perf-core

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

FAQPage Schema
How do I identify performance bottlenecks in my application?▼

To identify performance bottlenecks, use a systematic Measure-Profile-Identify-Optimize-Verify loop. This methodology guides you through benchmarking, profiling, and optimizing software to pinpoint exact functions or system calls causing latency.

How do I read a CPU flame graph to find slow functions?▼

Reading a CPU flame graph involves analyzing visual stack traces to identify wide bars, which indicate functions consuming significant CPU time. This Skill explains flame graph interpretation for systematic bottleneck identification.

Can I integrate performance regression testing into my CI/CD pipeline?▼

You can integrate performance regression testing into CI/CD pipelines using defined principles from this Skill. It establishes a framework to continuously verify optimizations and prevent performance degradation across builds.

What is the best way to profile memory issues and CPU bottlenecks?▼

The best way to profile memory and CPU bottlenecks is using a combination of perf for CPU profiling and valgrind for memory analysis. This Skill provides a structured methodology covering both tools for comprehensive performance analysis.