openclaw-test-performance

Profile OpenClaw test runs to identify CPU, memory, and import bottlenecks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Benchmark, diagnose, and optimize OpenClaw test performance without sacrificing coverage, helping you accelerate feedback loops and maintain confidence in test results.

Core Features & Use Cases

  • Baseline & Profiling: Establish baselines for pnpm test and identify hotspots in CPU, memory, and imports.
  • Targeted Optimization: Pinpoint slow tests and cold-runtime paths, propose concrete fixes, and preserve behavior proofs.
  • Use Case: When OpenClaw tests grow slow or flaky, use this Skill to speed up runs while keeping coverage intact and generating actionable performance reports.

Quick Start

Use the openclaw-test-performance skill to re-run the full test suite with performance tracking on the next sprint.

Frequently Asked Questions about openclaw-test-performance

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

FAQPage Schema
How do I find performance bottlenecks in Vitest without losing test coverage?

To identify Vitest performance bottlenecks while preserving coverage, you can apply baselining and profiling to local and CI runs to pinpoint CPU, memory, or import hotspots in realistic scenarios.

What causes slow Vitest test runs and how can I diagnose them?

Slow Vitest runs are often caused by CPU, memory, or import bottlenecks. Diagnosing them involves establishing performance baselines and profiling tests to pinpoint slow tests and cold-runtime paths.

How do I establish a performance baseline for pnpm test suites?

You establish a performance baseline for pnpm test suites by running profiling to track CPU, memory, and import metrics, allowing you to compare grouped Vitest reports and identify regressions.

Can I optimize OpenClaw test speed in CI environments without sacrificing behavior proofs?

Yes, optimizing OpenClaw test speed in CI environments targets slow tests and cold-runtime paths while preserving behavior proofs, ensuring test coverage remains intact during performance improvements.

What is the best way to fix Vitest performance regressions detected during sprints?

The best way to fix Vitest performance regressions is to pinpoint the hotspots, propose concrete optimizations, update the performance report, and commit scoped changes specifically for test-speed work.

Why do my OpenClaw tests become flaky as the suite grows larger?

OpenClaw tests become flaky as the suite grows due to untracked CPU, memory, or import bottlenecks. Profiling grouped Vitest reports helps pinpoint these hotspots to speed up runs and maintain confidence.