perf-agent

Automate performance benchmarking and profiling across Rust, Scala, and TypeScript stacks.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/asalhamed/dev-agents --skill perf-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-agent
Source: https://github.com/asalhamed/dev-agents/tree/main/perf-agent
Command: npx skills add https://github.com/asalhamed/dev-agents --skill perf-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance teams need a structured, repeatable workflow to benchmark, profile, and validate performance across codebases, ensuring regressions are caught early.

Core Features & Use Cases

  • Benchmark across Rust (criterion, flamegraph), Scala (JMH, async-profiler), and TypeScript (autocannon, clinic)
  • Profile hot paths and bottlenecks to drive optimization and capacity planning
  • Create load tests and performance reports that tie back to SLOs and baselines

Quick Start

Run a baseline performance assessment on a new change to verify latency and throughput meet targets.

Frequently Asked Questions about perf-agent

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

FAQPage Schema
How do I automate performance benchmarking across Rust, Scala, and TypeScript codebases?

Automating performance benchmarking across Rust, Scala, and TypeScript involves using criterion, JMH, and autocannon to establish repeatable baselines. This approach catches regressions early by validating latency and throughput against defined targets.

What is the best way to profile hot paths and identify bottlenecks in a Scala backend?

Profiling hot paths in a Scala backend is best achieved using JMH combined with async-profiler to pinpoint bottlenecks. This mechanism drives optimization and capacity planning by revealing exactly where code execution spends the most time.

Can I run load tests and generate performance reports that tie back to my SLOs?

Yes, you can run load tests and generate performance reports that tie directly back to your SLOs and baselines. This process ensures that your backend and frontend contexts maintain production-grade performance validation under expected traffic loads.

Does this performance validation workflow support frontend profiling with clinic?

Yes, this performance validation workflow supports frontend profiling using clinic for TypeScript contexts. It integrates load testing and bottleneck identification to ensure frontend changes meet established performance baselines before deployment.

How do I create a baseline performance assessment for a new code change?

To create a baseline performance assessment for a new code change, run microbenchmarks and load tests to verify latency and throughput. This structured workflow ensures repeatable results that validate whether your changes meet performance targets.