benchmark-performance-review
Use only when explicitly invoked: review CaseDash benchmark performance.
от casedash★ 31 звезда на GitHub
Установить benchmark-performance-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Benchmark Performance Review
Overview
Use this skill to verify that CaseDash performance still matches the maintained machine-specific benchmark ranges, then fix repeatable regressions with measured, narrowly scoped changes.
Required Context
- Read
AGENTS.md. - Read
docs/profile_benchmark.mdbefore forming conclusions. Treat it as the source of truth for benchmark commands, shared hotspot models, kept optimizations, rejected experiments, and practical guidance. - Read the matching
docs/performance/<machine>.mdfile for the current machine's benchmark ranges, bottlenecks, and research directions. - Read
docs/build.mdfor build and validation entrypoints. - Read relevant architecture docs before changing subsystem boundaries:
docs/architecture.mddocs/architecture/*.mdfor the touched package
- Read owning behavior docs before changing user-visible behavior, diagnostics output, provider behavior, layout-edit behavior, or layout-guide-sheet behavior.
Baseline Review
- Inspect
git status --short; ignore unrelated dirty work and do not revert changes made by others. - Build a fresh benchmark executable:
.\build.cmd /benchmarks
Run every maintained direct benchmark listed in the
Benchmark Workflowsection ofdocs/profile_benchmark.mdsequentially from the fresh build. Do not duplicate the command list here;docs/profile_benchmark.mdis the owning source of truth.Compare direct-run timing lines with the current known range in the matching
docs/performance/<machine>.mdfile. Compare like with like: primary loop metrics, named submetrics, same benchmark name, same iteration count, and same warmup count.Treat a single noisy run as inconclusive. When a metric looks slow, rerun the same direct benchmark at least twice and compare the median or the stable range.
Treat a regression as actionable when the primary loop metric or an important submetric is repeatably worse than the documented current range beyond normal noise, especially when a hot UI-path metric moves by roughly
10%or more, a guide-sheet metric moves by several milliseconds, or the regression changes the known hotspot shape.Use direct
build\CaseDashBenchmarks.exeruns as the repeatable baseline. Useprofile_benchmark.cmdtimings only as profiler-instrumented confirmation, not as the baseline comparison.
Regression Investigation
Isolate the changed benchmark and the first metric that moved. Prefer the smallest repeatable direct benchmark loop while investigating.
Review the matching machine file under
docs/performance/and the shared sections indocs/profile_benchmark.md:Shared Hotspot ModelKept OptimizationsResearch JournalPractical Guidance For Future Experiments
Do not retry experiments that the log rejects unless surrounding code changed enough to make the old result stale. Record why the retry is justified.
Capture a benchmark-focused profile when direct runs show a material regression or when hotspot attribution is needed. Use the matching
profile_benchmark.cmdcommand documented in theBenchmark Workflowsection ofdocs/profile_benchmark.md.For repeated unattended profiling, start the elevated daemon once with
.\profile_benchmark.cmd /daemon-start, then issue ordinaryprofile_benchmark.cmd <benchmark> ...requests.Prefer fixes that reduce real hot-path work, preserve the documented benchmark harness semantics, and keep benchmark-sensitive code on the maintained Release optimization profile.
Keep custom hash tables or similar low-level performance utilities in separate owning
.h/.cppmodules, not embedded in large renderer, provider, or controller files.
Fix Discipline
- Change one coherent hypothesis at a time.
- Keep edits scoped to the owning subsystem and the regressed benchmark path.
- Preserve user-visible behavior unless the user explicitly asks for a behavior change; update the owning behavior docs when behavior changes.
- Rebuild and rerun the affected benchmark after each serious experiment.
- If an experiment regresses, is neutral without improving code clarity, or contradicts the benchmark log, revert only your own experiment changes and record the rejected shared result in
docs/profile_benchmark.md. - Keep retained optimizations only when direct benchmark data supports them and the final validation set remains healthy.
- Add concise comments only where a non-obvious code shape preserves a measured performance invariant.
Final Validation
- Run
.\format.cmd changedafter C++ edits; use.\format.cmd fix changedif formatting needs repair. - Run
.\build.cmd /benchmarksafter the final retained changes. - Rerun all maintained direct benchmarks listed in
docs/profile_benchmark.mdafter the final build. - Run
.\test.cmdwhen production behavior, shared logic, or benchmark harness behavior changes. - Run the smallest headless diagnostics co
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл benchmark-performance-review?
Use only when explicitly invoked: review CaseDash benchmark performance.
Как установить скилл benchmark-performance-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл benchmark-performance-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…