openclaw-test-performance

Benchmark and diagnose OpenClaw test performance across pnpm test groups.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/karaabd23-crypto/openclaw --skill openclaw-test-performance-karaabd23-crypto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-test-performance
Source: https://github.com/karaabd23-crypto/openclaw/tree/main/.agents/skills/openclaw-test-performance
Command: npx skills add https://github.com/karaabd23-crypto/openclaw --skill openclaw-test-performance-karaabd23-crypto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenClaw test suites can become slow and noisy, slowing down development cycles. This Skill provides a structured approach to benchmark, diagnose, and optimize test performance without sacrificing coverage, so you can iteratively improve speed and stability.

Core Features & Use Cases

  • Baseline and grouped performance measurement: compare full-suite runs to identify regressions and hotspots.
  • Hotspot diagnosis and resource profiling: surface CPU time, memory (RSS), and import bottlenecks to guide targeted fixes.
  • Reproducible experimentation and guardrails: establish repeatable benchmarks and clear rollback steps to preserve coverage and correctness.
  • Use cases: when pnpm test slows down, when updates introduce latency, or when optimizing CI performance without breaking tests.

Quick Start

Run the baseline performance collection using the grouped command and inspect the generated artifacts.

Frequently Asked Questions about openclaw-test-performance

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

FAQPage Schema
How do I diagnose slow pnpm test performance in vitest?

Diagnose slow pnpm test performance by running grouped baseline benchmarks to compare full-suite runs, surfacing CPU time, memory RSS, and import bottlenecks to identify vitest hotspots. This structured approach targets regressions without sacrificing test coverage.

What is test performance benchmarking and when do I need it?

Test performance benchmarking is the structured measurement of test suite speed and resource usage across grouped runs. You need it when pnpm test suites become slow and noisy, delaying development cycles and introducing latency regressions.

Can I optimize CI test speed without losing vitest coverage?

Yes, you can optimize CI test speed without losing vitest coverage by establishing reproducible benchmark experiments and clear rollback guardrails. This ensures you can iteratively accelerate tests while preserving correctness and full coverage.

How do I profile vitest hotspots to find import bottlenecks?

Profile vitest hotspots by collecting standardized performance artifacts during grouped pnpm test runs. Inspecting these artifacts surfaces CPU time, memory RSS consumption, and specific import bottlenecks to guide your targeted test optimizations.

What's the best way to establish reproducible test benchmarks?

The best way to establish reproducible test benchmarks is to standardize performance commands and artifact collection. This ensures consistent baseline measurements across grouped experiments, providing reliable guardrails for future test changes.

Why does my test suite slow down after updates?

Your test suite slows down after updates due to newly introduced latency hotspots. Running grouped performance measurements against your baseline run compares full-suite results to pinpoint the exact regressions causing the delayed execution.