openclaw-test-performance

Benchmark, diagnose, and optimize OpenClaw test performance using pnpm test:perf:groups.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Benchmarking, diagnosing, and optimizing OpenClaw test performance to speed up test runs and reduce resource usage.

Core Features & Use Cases

  • Baseline and compare: baseline pnpm test performance and compare grouped Vitest reports.
  • Identify hotspots: locate CPU, memory, and import hotspots across the test suite.
  • Preserve coverage: optimize tests without sacrificing coverage and reliability.
  • Guardrails: provide governance for scoped commits and push guidelines during speed-focused work.

Quick Start

Run the performance benchmark on your local OpenClaw tests to begin the audit.

Frequently Asked Questions about openclaw-test-performance

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

FAQPage Schema
How do I benchmark Vitest performance for my test suite?

Benchmark Vitest performance by running pnpm test:perf:groups to capture wall time and RSS, establishing a baseline. This preserves coverage while identifying CPU and memory hotspots across your test suite.

How do I identify CPU and memory hotspots in a Vitest test suite?

Identify CPU and memory hotspots by comparing grouped Vitest reports against your baseline performance. This locates specific import and resource bottlenecks across the test suite.

Can I optimize test performance without sacrificing code coverage?

Yes, you can optimize test performance without sacrificing coverage by using scoped improvements guided by benchmark reports. This ensures reliability and coverage are preserved during speed-focused work.

Does this test performance benchmarking work for CI workflows?

Yes, this test performance benchmarking is applicable to CI workflows as well as local development. It baselines tests and provides governance for scoped commits to maintain performance standards.

What's the best way to compare grouped Vitest reports for performance?

The best way to compare grouped Vitest reports is to baseline pnpm test performance first, then analyze the captured wall time and RSS metrics to pinpoint import hotspots across the test suite.