pgo

Community

Boost C/C++ performance with PGO.

Authormohitmishra786
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you significantly improve the runtime performance of your C/C++ applications by guiding the compiler to make better optimization decisions based on actual program usage.

Core Features & Use Cases

  • Profile-Guided Optimization (PGO): Implement a two-stage build process where the first stage collects runtime profile data, and the second stage uses this data to optimize the binary more effectively than standard compiler flags.
  • GCC & Clang Support: Provides workflows for both major C/C++ compilers.
  • BOLT Integration: Offers post-link optimization using BOLT for further performance gains by reordering code based on profile data.
  • Use Case: You have a critical C++ application that has hit performance plateaus with -O3. Using PGO, you can achieve an additional 5-15% speedup by training the compiler on representative workloads.

Quick Start

Use the pgo skill to build an optimized C++ binary using GCC and profile data.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pgo
Download link: https://github.com/mohitmishra786/low-level-dev-skills/archive/main.zip#pgo

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.