acoustic-carpenter-78188
07/10/2026, 8:42 PMbenchmark).
Why
So anyone can reproduce the benchmark results (the ones behind the "Outscaling Flyte v1" and "Orchestration Without Limits" write-ups) on their own clusters — by hand or through the skill.
Contents
scripts/
v2/{fanout,long_chain,concurrency,swarm}.py Flyte v2 SDK
v1/{fanout,long_chain,concurrency,swarm}.py flytekit — same flags, same output
plot_results.py summary table + charts
charts/ README figures + make_charts.py
flyte-benchmark/ the plugin (SKILL.md, reference_results.md)
Four workload shapes, each implemented once per Flyte version:
| shape | stresses |
| ----------- | --------------------------------------------------------- |
| fanout | one run, N parallel leaves — wide breadth |
| long_chain | N nodes in series — sequential depth |
| concurrency | hold M leaves live for a window — steady-state load |
| swarm | K independent fan-out runs at once — the scale / OOM test |
Leaves are core-sleep tasks (no task pod), so what's measured is orchestration cost, not pod startup.
How to run
Every script carries its dependencies in a PEP 723 header, so uv run resolves them — no venv, and flytekit never has to share an environment with the v2 SDK. Both planes take identical flags, so comparing them is the same command twice:
git clone https://github.com/flyteorg/benchmark && cd benchmark
export FLYTECTL_CONFIG=~/.flyte/config.yaml # the cluster under test
uv run scripts/v2/fanout.py --n 1000
uv run scripts/v1/fanout.py --n 1000
Each prints a RESULT_JSON:{...} line; tee -a results.jsonl and chart with uv run scripts/plot_results.py.
Or install the plugin and let the skill drive it:
/plugin marketplace add flyteorg/benchmark
/plugin install flyte-benchmark@benchmark
Results
All four README figures cover all three. Fan-out, long-chain and low-end swarm were re-measured on one day so the planes are directly comparable; concurrency and the 20k–200k swarm points are from an earlier build and labelled as such.
| fan-out (leaves) | v1 | v2 (OSS) | Union |
| ---------------- | ------- | -------- | ------ |
| 1,000 | 126.3 s | 68.4 s | 19.0 s |
| 6,000 | 699.1 s | 355.6 s | 68.6 s |
| long chain (nodes) | v1 | v2 (OSS) | Union |
| ------------------ | ------- | -------- | ------ |
| 100 | 65.7 s | 18.9 s | 19.0 s |
| 500 | 366.1 s | 83.5 s | 83.7 s |
A fan-out has thousands of actions live at once, so scaling the orchestrator out pays (Union 10× v1 at 6k leaves). A chain runs one action at a time, so it can't: v2 and Union land within 0.2 s at every length. The swarm test is where a single 8 GiB OSS executor is OOM-killed near 150k cumulative actions while Union completes 200k.
Full tables, including peak memory and the OOM points, in <flyte-benchmark/skills/flyte-benchmark/reference_results.md|`reference_results.md`>.
Known gaps
Left as gaps rather than filled by inference:
• v1 above 10k actions in the swarm — v1 took 326 s for 10k, so the 200k point would run for hours. The scale-ceiling panel is labelled v2-vs-Union.
• Union orchestrator memory — not measurable per-pod on a hosted multi-tenant plane, so the memory comparison stays v1-vs-v2.
Validation
claude plugin validate ./flyte-benchmark passed; both manifests are valid JSON; all scripts compile. Every script was exercised against a live cluster — v2 and Union on their respective clusters, v1 against flytepropeller — and every number in the charts and reference_results.md comes from those runs. Nothing is extrapolated: where a plane was OOM-killed it has no bar, only an "OOM" label, because it never produced a completion time.
https://claude.ai/code/session_01Rc2ZxETfKamRUnUT9uwZRM
flyteorg/benchmarkacoustic-carpenter-78188
07/28/2026, 6:27 PM