analyze-performance

Generate and compare flamegraphs against baselines to detect performance regressions.

477|32|Updated Feb 23, 2022
One-click install
npx skills add https://github.com/r3bl-org/r3bl-open-core --skill analyze-performance-r3bl-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-performance
Source: https://github.com/r3bl-org/r3bl-open-core/tree/main/.claude/skills/analyze-performance
Command: npx skills add https://github.com/r3bl-org/r3bl-open-core --skill analyze-performance-r3bl-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers identify performance regressions by generating and analyzing flamegraphs, establishing reliable baselines, and detecting hot paths that degrade application performance.

Core Features & Use Cases

  • Flamegraph-based regression analysis: capture current performance, compare with baseline, and highlight regressions.
  • Baseline management: maintain a reference flamegraph baseline and decide when to update it.
  • Guidance and tooling: provides a structured workflow, recommended commands, and interpretation hints.

Quick Start

Run the flamegraph benchmark and compare against the baseline using the provided workflow.

Frequently Asked Questions about analyze-performance

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

FAQPage Schema
How do I analyze performance regressions using flamegraphs?

You analyze performance regressions by generating current flamegraph data and comparing it against a defined baseline using the check-regression command to detect hot paths and performance degradations.

What is a flamegraph baseline and when do I need to update it?

A flamegraph baseline is a reference performance profile used to detect regressions in subsequent code changes. You should update it after validating successful optimizations or establishing a new performance standard.

How do I benchmark performance-critical code against a baseline?

You benchmark performance-critical code by running a flamegraph benchmark on the current build and comparing the output against your maintained baseline to identify hot paths and validate changes.

Do I need a defined baseline to detect performance regressions?

Yes, detecting performance regressions requires a defined baseline flamegraph and access to the check-regression command to compare current performance data and highlight degraded hot paths.

What's the best way to validate performance changes in a development workflow?

The best way to validate performance changes is using a structured flamegraph workflow to benchmark current code, compare it against a baseline, and detect hot paths before updating the reference profile.