Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

benchmark-checklist

БесплатноБез исполняемых скриптовНе проверен

Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you…

neohaskellот neohaskell★ 349 звёзд на GitHub

Об этом скилле

Benchmark checklist

Use this when you produce a performance number: a PR's before and after, a regression claim, a hillclimb harness, or a library or config choice. Answer each question with evidence from a run, not a guess about the code.

For a quick ballpark the user asked for, one run is enough. Still check questions 4 and 7, and say that it is one run. Skip the rest unless that run looks wrong. A choice between options is never a ballpark.

Before you run anything

  • Write down the claim you expect to make, in the words you would ship ("export is 30% faster at p50 on the 60k-row dataset"). The questions test that sentence.
  • Read the measurement script. Note what it times, counts, and ignores.
  • Check host load and available core count with tools supported by the execution environment. If the machine is busy, find out what is running. If you cannot stop it, interleave the sides so both see the same noise, and say so in the report.

Complete framework flows

When the claim or change crosses subsystem boundaries, benchmark the complete relevant flow alongside focused stage measurements. Choose the workloads and completion boundaries that answer the claim.

  • Command execution. Exercise the real path through authorization/context, entity fetch or replay, decision interpretation, event encoding and storage append to the command result. State the entrypoint and timed boundary. Count successful commands, rejections, errors and retries separately.
  • Decider execution. Measure decision logic and interpretation where their costs matter, including required capabilities and consumption of emitted events. A constructed decision description or deferred Task is not completed decision execution.
  • Storage and downstream visibility. Use the relevant backend and its declared completion/durability settings. Choose representative event-history lengths, payloads, batches, cache/snapshot states and contention. Verify event/state outcomes. State whether completion means command acceptance, storage confirmation or subscriber/projection visibility; wait for the claimed boundary before stopping timing. Include transport or downstream integration work when the claim covers it.

Compilation is a performance surface

Framework changes can change the time and memory required to compile a consuming project. Benchmark relevant downstream compilation as well as the framework build. Choose scenarios appropriate to the claim.

  • Representative consumer. Compile a fixture using actual framework declarations, Template Haskell splices and Generic-derived instances. Exercise the generated APIs/instances. Vary type, field, constructor, splice or module counts when investigating scaling costs.
  • Distinct build scenarios. Report clean consumer compilation, incremental recompilation after a defined edit, and unchanged rebuilds separately where relevant. Include edits to generated declarations or shared types when their downstream invalidation is part of the claim. State whether dependency/framework builds, downloads, typechecking, code generation and linking are included.
  • Controlled build state and actual work. Prepare equivalent dependencies for each framework revision and restore the same sources, edit and artifact/cache conditions for each sample. Record what is cached. Retain evidence that the expected modules/splices were processed, expected declarations were produced and compilation succeeded. Name no-op rebuild measurements explicitly.
  • Costs and attribution. Measure elapsed time and, where relevant, CPU and peak memory across the compiler and relevant splice processes. Use separate compiler-phase diagnostics to investigate splice execution, deriving/instance resolution, typechecking, optimization and code generation. Generic-derived code can also do runtime work; measure that behavior when relevant rather than treating every generic operation as compile-time execution.

The questions

  1. Why not double? Name the limiter. Profile in a run you do not report, because profilers and tracers slow the work down. Use supported host CPU/I/O tools and relevant Haskell profiling or runtime statistics, including allocation and garbage-collection costs where they explain the limiter, then map the hot spot to source. Verify which diagnostics the actual executable supports; keep diagnostic/profiling runs separate from reported timings. Watch the load generator too: if it saturates first, you measured the load generator. If a change did not move the number, the limiter explains why, so find it before you call the change useless.
  2. Was it tuned? Run every side the way production runs it: release builds, production flags and env, batching and transaction settings, connection pools, caches as warm or cold as production sees them, and the same versions and data. For Haskell comparisons, record the compiler and dependency versions, build/optimization mode, and effective runtime settings, including para
Полный SKILL.md на GitHub

Установить benchmark-checklist в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл benchmark-checklist?

Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you benchmark or report a measured speedup or regression, including complete framework flows and compilation of projects that consume the framework.

Как установить скилл benchmark-checklist?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл benchmark-checklist запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить benchmark-checklist с