openclaw-test-performance

Diagnose CPU, memory, and import hotspots in Vitest-based pnpm test suites.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenClaw test performance often degrades over time, impacting developer feedback loops. This skill provides a structured approach to benchmark, diagnose, and optimize test execution without sacrificing coverage.

Core Features & Use Cases

  • Benchmarking and baselining: baseline test performance across environments using grouped Vitest reports.
  • Hotspot diagnosis: identify CPU, memory, and import hotspots that slow down tests.
  • Safe optimization workflow: guide changes that improve speed while retaining coverage and tests.
  • Use Case: When pnpm test is slow and verbose, run this skill to locate bottlenecks and propose scoped commits.

Quick Start

Run a baseline on the current test suite and report the top three hotspots with recommended optimizations.

Frequently Asked Questions about openclaw-test-performance

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

FAQPage Schema
Why is my Vitest test suite running so slowly in a pnpm workflow?

Slow Vitest test suites in pnpm workflows are typically caused by CPU, memory, and import hotspots. You can locate these bottlenecks by benchmarking and baselining grouped Vitest reports to guide targeted optimizations without sacrificing coverage.

How do I identify and fix slow Vitest tests without losing test coverage?

To fix slow Vitest tests without losing coverage, establish a performance baseline, diagnose CPU, memory, and import hotspots using grouped reports, and apply evidence-driven optimizations. This safe workflow improves speed while retaining full test coverage.

Can I benchmark test performance across different environments using Vitest?

Yes, you can benchmark test performance across environments using Vitest by generating grouped performance reports. This baselining process establishes evidence-driven metrics to compare execution speeds and pinpoint specific hotspots for targeted optimization.

What is the best way to optimize pnpm test execution speed for large projects?

The best way to optimize pnpm test execution speed is through an evidence-driven workflow that baselines performance, diagnoses import and memory hotspots, and proposes scoped commits. This structured approach ensures optimizations are targeted and guarded by baseline metrics.

Does optimizing test performance require dropping slow tests or reducing coverage?

Optimizing test performance does not require dropping tests or reducing coverage. The safe optimization workflow applies evidence-driven changes that improve execution speed while strictly preserving full test coverage across all environments.