with one click
test-perf
Run performance benchmarks and update the baseline
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run performance benchmarks and update the baseline
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Fill missing type, title, and description frontmatter on documents using structured AI output
Download a web page by URL and save it as clean markdown with images
Audit for accessibility — keyboard navigation, ARIA labels, contrast, focus indicators
Produce a full dependency health report (SBOM, vulnerabilities, staleness, upgrades, licenses)
Audit error handling UX — error boundaries, silent failures, loading states, empty states
Audit for unnecessary re-renders — Zustand subscriptions, missing memoization, inline callbacks
| name | test-perf |
| description | Run performance benchmarks and update the baseline |
| user-invocable | true |
Measures critical editor operations against budget thresholds: markdown parse/serialize, decorations, stores, Tauri IPC hot paths.
pnpm test:perf # Strict budget (dev)
PERF_BUDGET_MULTIPLIER=1.5 pnpm test:perf # CI tolerance (runner variability)
Config: vitest.perf.config.ts | Baseline: docs/performance-baseline.md
src/perf/*.perf.test.{ts,tsx} is the authoritative list — pnpm test:perf runs
every suite there (currently markdown, markdown-worker, decorations, stores, cmdbar,
orb, status-tray, sidebar-filter). A few representative suites:
| Suite (illustrative) | Measures | Budget range |
|---|---|---|
markdown.perf.test.ts | Parse + serialize at 1KB / 10KB / 50KB / 100KB | 34–364ms / 1–15ms |
decorations.perf.test.ts | Search + tag decoration rebuilds | < 2ms |
stores.perf.test.ts | Store ops + command palette filter | 1–20ms |
Per CLAUDE.md "Performance Tracking":
[perf:*] console logsdocs/performance-baseline.md with the commit hash. Never overwrite previous entries — the history is the point.Key startup metrics: phase1-ready, startup ready, tree refresh, skills total.
/test — umbrelladocs/performance-baseline.md — historical baseline entries