test-perf

Generate performance benchmarks for functions or HTTP endpoints.

11|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill test-perf-berkcangumusisik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-perf
Source: https://github.com/berkcangumusisik/claude-code-practices/tree/main/skills/test-perf
Command: npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill test-perf-berkcangumusisik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers generate and run performance benchmarks for functions or endpoints, enabling data-backed decisions about speed and resource usage.

Core Features & Use Cases

  • Benchmark execution time: measure latency under normal and stressed conditions across code paths.
  • Memory and resource usage: track allocations and memory pressure during tests.
  • Use Case: benchmark a HTTP endpoint to compare current implementation against a naive baseline, then create a report.

Quick Start

Run automated performance benchmarks for a target function or endpoint to establish a baseline.

Frequently Asked Questions about test-perf

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

FAQPage Schema
How do I benchmark HTTP endpoint performance and memory usage?

To benchmark HTTP endpoint performance, generate test files measuring execution speed and memory allocations under normal and stressed conditions. The skill detects available tools like autocannon or k6 and writes files to project conventions.

What is the best way to compare current code performance against a baseline?

Comparing current code against a baseline requires running automated benchmarks for target functions to establish measurable metrics. The skill generates benchmark files in bench/ or __benchmarks__/ directories, producing reports quantifying speed and resource differences.

Does this performance testing tool work with vitest and jest?

Yes, performance testing works with vitest and jest. The skill detects available testing tools within your project, including vitest, jest, benchmark, autocannon, and k6, automatically writing benchmark files following your existing project conventions.

How do I apply load testing to unit and integration scenarios?

Apply load testing to unit and integration scenarios by generating performance benchmarks across code paths to quantify speed and memory usage. The skill produces measurable results under normal and stressed conditions, applying to unit, integration, and end-to-end tests.

Can I track memory pressure and allocations during benchmark execution?

Yes, you can track memory pressure and allocations during benchmark execution. The skill generates performance benchmarks measuring memory and resource usage, tracking allocations and memory pressure during tests to provide data-backed resource insights.