libperf
OfficialBenchmark, validate, and scale performance.
Authorcopilot-ld
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Performance bottlenecks and regressions hinder software reliability; libperf provides deterministic measurement tools to quantify execution time and memory usage.
Core Features & Use Cases
- Benchmark function: run multiple iterations to collect timing and memory data.
- Validate constraints: enforce max duration, max memory, and scaling behavior to guard against regressions.
- Scaling analysis: compare performance across input sizes to detect linear vs sublinear growth.
- Integration in CI: easily plug into pipelines to catch performance regressions early.
Quick Start
Run a benchmark on a function with 100 iterations and verify duration and memory against thresholds.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: libperf Download link: https://github.com/copilot-ld/copilot-ld/archive/main.zip#libperf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.