openclaw-test-performance

Benchmark OpenClaw test suites and plugin runtimes for wall time, RSS, and import durations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses performance bottlenecks in OpenClaw test suites and plugin runtimes, helping developers identify and resolve high-latency imports, memory leaks, and CPU-intensive operations.

Core Features & Use Cases

  • Performance Benchmarking: Measure wall time, CPU usage, and RSS memory consumption for test suites and individual plugins.
  • Diagnostic Analysis: Identify import hotspots and heap growth patterns to distinguish between real memory leaks and retained module graphs.
  • Use Case: When a new plugin causes CI test times to spike, use this skill to generate an import breakdown and memory profile to pinpoint the exact dependency causing the regression.

Quick Start

Use the openclaw-test-performance skill to benchmark the current test suite and generate a performance report for the identified hotspots.

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 OpenClaw plugin runtime performance and memory utilization?

To benchmark OpenClaw plugin runtime performance, you measure wall time, CPU usage, and RSS memory consumption across test suites. This diagnostic process identifies high-latency imports and CPU-intensive operations to pinpoint exact dependencies causing regressions.

Why does my CI test time spike after adding a new OpenClaw plugin?

CI test time spikes when a new OpenClaw plugin introduces high-latency imports or memory leaks. Generating an import breakdown and memory profile distinguishes between real memory leaks and retained module graphs to isolate the problematic dependency.

How do I identify import hotspots in a Vitest integration workflow?

Identifying import hotspots in a Vitest integration workflow requires measuring import durations and tracking heap growth patterns. This diagnostic analysis targets plugin-inspector data to distinguish retained module graphs from active memory leaks.

Can I use this performance benchmarking approach for package-boundary validation?

Yes, performance benchmarking supports package-boundary validation by measuring wall time and RSS memory consumption during plugin composition. Collecting precise metrics ensures efficient resource management across development workflows involving validated package boundaries.

What is the best way to distinguish real memory leaks from retained module graphs in OpenClaw?

The best way to distinguish real memory leaks from retained module graphs in OpenClaw is diagnostic analysis of heap growth patterns. Tracking RSS memory consumption alongside import durations reveals whether memory retention stems from leaks or module graph retention.

Do I need specific dependencies to measure RSS and import durations for OpenClaw plugins?

No specific external dependencies are required to measure RSS and import durations for OpenClaw plugins. The benchmarking process operates independently to collect wall time, CPU usage, and memory utilization metrics within your existing development workflow.