Features
OpenClaw Test Performance is an advanced performance analysis tool designed for OpenClaw test suites and plugin-suite runtimes. It addresses common performance bottlenecks in test execution, helping development teams detect and fix performance regressions early. Key features include:
- Runtime Hotspot Detection: Automatically identifies the most time-consuming code paths during test execution, providing function-level timing distribution.
- CPU and RSS Memory Analysis: Real-time monitoring of CPU usage and resident set size, generating time-series charts to pinpoint abnormal resource consumption.
- Heap Growth Trend Analysis: Tracks heap memory allocation and deallocation patterns to detect memory leaks or excessive allocation.
- Slow Coverage Path Discovery: Analyzes code coverage data to identify slow coverage paths, helping optimize test cases.
- One-Click Manus Integration: Import directly via the Manus platform without complex configuration, running in a standard environment.
- Automated Report Generation: Outputs structured JSON or HTML reports, supporting integration with CI/CD pipelines.
Compared to traditional profiling tools, OpenClaw Test Performance is optimized for the OpenClaw ecosystem, offering out-of-the-box configuration and targeted optimization suggestions, significantly lowering the barrier to performance tuning.
Installation
Ensure the following dependencies are met before installation:
- Node.js 16+ or Bun 1.0+
- Git
- Manus client (latest version recommended)
Recommended installation via npx:
npx skills add https://github.com/openclaw/skills --skill openclaw-test-performance
Or using bunx:
bunx skills add https://github.com/openclaw/skills --skill openclaw-test-performance
With pnpm:
pnpm dlx skills add https://github.com/openclaw/skills --skill openclaw-test-performance
After installation, verify that the target skills directory contains SKILL.md and all supporting files (scripts, references, assets, agents, etc.).
Usage
Run the skill in Manus after successful installation:
- Open the Manus client and click the 'Run in Manus' button.
- The skill will automatically load the configuration from SKILL.md and start the benchmark.
- Follow the prompts to select the test suite or plugin-suite path.
- Wait for analysis to complete and review the generated report (default HTML format, saved in the report folder in the current directory).
Example command:
# Direct command-line invocation (if supported)
openclaw-test-performance --suite ./tests --output ./report
The report includes the following key metrics:
- Total execution time
- Hotspot function list (sorted by time)
- CPU usage curve
- RSS memory changes
- Heap growth trend chart
- Slow coverage path list
Notes
- This skill is fully tested only in the Manus environment; other environments may not guarantee full functionality.
- Close other resource-intensive programs during performance tests for accurate data.
- First run may require downloading dependencies; ensure network connectivity.
- If installation issues occur, check Git and Node.js version compatibility.
- Optimization suggestions in the report are for reference only; actual results depend on the specific code context.