brikko-studio-test-performance

Benchmark Brikko Studio test suites and diagnose performance hotspots.

1|Updated May 3, 2026
One-click install
npx skills add https://github.com/brikkoAI/brikko-studio --skill brikko-studio-test-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brikko-studio-test-performance
Source: https://github.com/brikkoAI/brikko-studio/tree/main/packages/core/.agents/skills/openclaw-test-performance
Command: npx skills add https://github.com/brikkoAI/brikko-studio --skill brikko-studio-test-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates wasted developer time and OOM risks caused by slow, resource-heavy Brikko Studio test runs and plugin suite executions, which often block CI pipelines and local development workflows.

Core Features & Use Cases

  • Structured Test Benchmarking: Collect consistent wall time, Vitest duration, import breakdown, CPU, and RSS metrics for individual test files, grouped suites, and full plugin test sweeps.
  • Plugin Suite Optimization: Diagnose performance hotspots in bundled plugins, plugin-inspector runs, and extension batch tests, with targeted workflows for SDK barrel, package boundary, and runtime load issues.
  • Memory Growth Investigation: Identify real memory leaks, retained module graphs, and RSS escalation across test runs, with guidance to avoid misclassifying normal runtime behavior as leaks.
  • Use Case: A developer whose plugin test suite takes 12 minutes and OOMs on CI can use this Skill to pinpoint that a broad SDK barrel import is loaded for every plugin test, then refactor to cut runtime by 65% and eliminate OOM failures without losing test coverage.

Quick Start

Use the brikko-studio-test-performance skill to benchmark your current test suite's runtime and memory usage, identify the top performance hotspot, and implement a targeted fix to reduce execution time and RSS overhead.

Frequently Asked Questions about brikko-studio-test-performance

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

FAQPage Schema
How do I reduce slow Vitest execution time and memory overhead in my plugin test suite?

To reduce slow Vitest execution time and memory overhead, you can benchmark wall time, CPU, and RSS metrics to isolate performance hotspots like broad SDK barrel imports, enabling targeted refactoring that cuts runtime without losing test coverage.

Why does my CI pipeline OOM during test runs and how can I diagnose the memory leak?

CI pipeline OOM during test runs often stems from retained module graphs or RSS escalation across the suite; you can investigate memory growth by collecting consistent RSS metrics to identify real memory leaks versus normal runtime behavior.

How do I benchmark test performance to find import duration bottlenecks?

You benchmark test performance by collecting wall time, Vitest duration, and import breakdown metrics for individual test files or grouped suites, pinpointing exact import duration bottlenecks causing slow execution.

Can I optimize plugin test sweeps without losing test coverage?

Yes, you can optimize plugin test sweeps by diagnosing runtime load issues and package boundary inefficiencies, then validating performance improvements through before/after metric comparisons to ensure test coverage is preserved.

What is the best way to diagnose performance hotspots in bundled plugin extensions?

The best way to diagnose performance hotspots in bundled plugins is running structured benchmarking workflows on plugin-inspector and extension batch tests to capture CPU and wall time metrics, revealing heavy runtime loads.

When should I investigate SDK barrel imports for test performance issues?

You should investigate SDK barrel imports for test performance issues when benchmarking reveals uniformly high import durations across unrelated plugin tests, indicating a broad module graph loaded repeatedly and escalating RSS overhead.