| name | flyprof-report |
| description | Produce and act on a FlyDSL kernel optimization report with flyprof: synthesize the ranked bubble->FlyDSL-knob recommendations, read the ISA<->Python evidence, optionally apply one knob, and verify the change re-profiles better. Use when asked what to change to make a kernel faster, or to turn a captured bundle into an optimization plan.
|
| allowed-tools | Bash(flyprof:*), Read, Edit, Write |
flyprof-report — bubbles -> ranked FlyDSL changes, with proof
flyprof report is the synthesis step: it runs the knob rules engine over the
bundle's bubbles/counters/tile/capture artifacts and emits REPORT.md +
report.json + headlines.json. This is prep — it tells you what to change and
why; applying the change and re-measuring is a separate, deliberate act.
Runbook
If you apply a knob (optional, deliberate)
Fixture gate (do not cheat the measurement)
When you have a known-good profile, write a fixture (expected top bubble class,
non-zero mapped_pct, dispatch present). On a later run, compare against it.
Never relax the fixture to make a run pass — a "regression" that's really a
measurement artifact (wrong shape, parser grabbing the wrong line, empty dispatch)
must be diagnosed, not silenced. Empty/odd results are findings; investigate the
capture before trusting a perf delta.