返回 Skill 列表
extension
分类: 开发与工程无需 API Key

fusion-perf

比较性能优化选项并选择最有效的;在调整或加速系统时使用。

person作者: jakexiaohubgithub

Fusion Performance

Overview

Use an F-thread: three workers implement different optimizations in separate worktrees. The queen compares results.

Inputs

  • Performance problem and metrics

Workflow

  1. Verify git and mprocs.
  2. Create session variables and worktrees.
  3. Write tasks.json, worker prompts, and queen prompt.
  4. Launch mprocs.

Worktree Commands

git worktree add "{WORKTREE_ROOT}/impl-a" -b fusion/{SESSION_ID}/impl-a
git worktree add "{WORKTREE_ROOT}/impl-b" -b fusion/{SESSION_ID}/impl-b
git worktree add "{WORKTREE_ROOT}/impl-c" -b fusion/{SESSION_ID}/impl-c

Worker Prompt Outline

  • Worker A: algorithmic improvements
  • Worker B: caching or batching
  • Worker C: concurrency or IO tuning

Queen Prompt Outline

  • Compare benchmarks, complexity, and regression risk

mprocs Launch

mprocs --config .hive/mprocs.yaml

Output

  • Selected optimization strategy with benchmarks