ENGINE COMPARISON / ONE BUILD / NOT A RELEASE COMPARISON
cluster-forest compared with compact-bfs, ETT, HDT
Connectivity engines measured on the same Knotrel build (candidate 02cba68), on the same host and inputs. This page compares engines, not one release with another. Results hold only for the workloads, sizes, host and build measured.
Limitation. Host swap activity not verifiable; results accepted by the maintainer with this limitation. Swap occupancy was 738.25 MB at the start and at all 30 snapshots, and 722.25 MB at the end; the 192 zero values of the per-process swap counter concern only the V1 processes observed.
Decision. compact-bfs stays the default engine; cluster-forest is opt-in and experimental.
Full campaign report · Analysis and checksums
Results by workload family
A median ratio below 1× favours cluster-forest: cluster-forest over the reference for times and tails, the reference over cluster-forest for throughput. Core and end-to-end results are kept apart.
| Family, workload, sizes (vertices) | vs compact-bfs | vs ETT | vs HDT |
|---|---|---|---|
dense-bridge-churn-v1Two cliques, one bridge toggled. Sizes: 512, 2 048. Scope: core. | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.0384× to 0.0389× | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.0025× to 0.00343× | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.32× to 0.431× |
redundant-bridge-churn-v1Two cliques, two bridges toggled independently. Sizes: 512, 2 048. Scope: core. | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.039× to 0.0425× | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.00408× to 0.00607× | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.326× to 0.473× |
components-join-split-v1Two paths joined and split by a seeded bridge. Sizes: 10 000, 100 000. Scope: core. | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.396× to 0.426× | prefer reference 2 SLOWER (2 cells: K1) median ratio 10.4× to 48× | prefer reference 2 SLOWER (2 cells: K1) median ratio 9.69× to 9.87× |
hub-alternatives-v1Star plus a leaf path; a leaf is isolated and restored. Sizes: 10 000, 100 000. Scope: core. | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.00462× to 0.0293× | insufficient evidence 1 SLOWER, 1 TIMER_LIMITED (2 cells: K1) median ratio 1.33× to 1.35× | insufficient evidence 2 TIMER_LIMITED (2 cells: K1) median ratio 1.19× to 1.23× |
sustained-churn-blocks-v116-vertex cycles joined by bridges, persistent toggling. Sizes: 10 000, 100 000. Scope: core. | prefer reference 2 SLOWER (2 cells: K1) median ratio 11.8× to 19× | prefer reference 2 SLOWER (2 cells: K1) median ratio 13.7× to 28.4× | prefer cluster-forest 2 FASTER (2 cells: K1) median ratio 0.374× to 0.679× |
chain-split-rejoin-v1Path; a seeded bridge is cut and relinked. Sizes: 10 000, 100 000. Scope: core. | prefer reference 2 SLOWER (2 cells: K1) median ratio 2.38× to 2.81× | prefer reference 2 SLOWER (2 cells: K1) median ratio 58.7× to 330× | prefer reference 2 SLOWER (2 cells: K1) median ratio 56.7× to 78.9× |
cycle-alternatives-v1Ring; cuts with and without an alternative path. Sizes: 10 000, 100 000. Scope: core. | prefer reference 2 SLOWER (2 cells: K1) median ratio 1.92× to 2.06× | prefer reference 2 SLOWER (2 cells: K1) median ratio 37× to 202× | prefer reference 2 SLOWER (2 cells: K1) median ratio 1.38× to 2.28× |
sustained-churn-path-v1Path edges toggled persistently, with queries. Sizes: 10 000, 100 000. Scope: core. | prefer reference 2 SLOWER (2 cells: K1) median ratio 16.4× to 25.5× | prefer reference 2 SLOWER (2 cells: K1) median ratio 18.7× to 68.8× | prefer reference 2 SLOWER (2 cells: K1) median ratio 17.4× to 28.3× |
K2-d4Staged random inserts and deletes, E = 2V, with construction (K3) and memory (K4). Sizes: 10 000, 100 000, 1 000 000. Scope: core. | mixed results 3 FASTER, 12 LARGER, 6 SLOWER (9 cells: K2, K3, K4) median ratio 0.000183× to 60.4× | mixed results 2 EQUIVALENT, 3 FASTER, 3 SIMILAR, 4 SLOWER, 9 SMALLER (9 cells: K2, K3, K4) median ratio 0.568× to 3.08× | mixed results 2 EQUIVALENT, 5 FASTER, 1 INCONCLUSIVE, 1 SLOWER, 12 SMALLER (9 cells: K2, K3, K4) median ratio 0.443× to 1.22× |
K2-d16Staged random inserts and deletes, E = 8V, with construction (K3) and memory (K4). Sizes: 10 000, 100 000, 1 000 000. Scope: core. | mixed results 3 FASTER, 12 LARGER, 6 SLOWER (9 cells: K2, K3, K4) median ratio 0.000204× to 30.2× | mixed results 4 FASTER, 2 SIMILAR, 5 SLOWER, 10 SMALLER (9 cells: K2, K3, K4) median ratio 0.548× to 2.71× | mixed results 1 EQUIVALENT, 6 FASTER, 2 SLOWER, 12 SMALLER (9 cells: K2, K3, K4) median ratio 0.45× to 1.26× |
K2xRandom simple graph, E = 3V, inserts, queries and deletes (exploratory provenance). Sizes: 16 384, 131 072, 1 048 576. Scope: core. | prefer reference 6 SLOWER (3 cells: K2x) median ratio 3.01× to 141× | mixed results 3 FASTER, 3 SLOWER (3 cells: K2x) median ratio 0.621× to 3.87× | insufficient evidence 1 EQUIVALENT, 4 FASTER, 1 INCONCLUSIVE (3 cells: K2x) median ratio 0.47× to 0.993× |
K3-familiesConstruction from the six sparse K1 family graphs at 100 000 vertices. Sizes: 100 000. Scope: core. | prefer reference 6 SLOWER (6 cells: K3) median ratio 7.87× to 10.3× | prefer cluster-forest 6 FASTER (6 cells: K3) median ratio 0.303× to 0.393× | prefer cluster-forest 6 FASTER (6 cells: K3) median ratio 0.288× to 0.367× |
LNode and edge lifecycle: L1 lifecycle window, L3 import and churn, L4 memory. Sizes: see report. Scope: core. | mixed results 3 FASTER, 1 INCONCLUSIVE, 19 LARGER, 1 SIMILAR, 18 SLOWER (32 cells: L1, L3, L4) median ratio 0.0109× to 32.5× | not compared | not compared |
S1-lifecycle-offHTTP server, mixed read and write traffic, lifecycle off. Sizes: see report. Scope: end-to-end. | prefer cluster-forest 8 FASTER (4 cells: S1) median ratio 0.00439× to 0.418× | isolated differences 6 EQUIVALENT, 2 SLOWER (4 cells: S1) median ratio 0.891× to 1.34× | isolated differences 6 EQUIVALENT, 2 SLOWER (4 cells: S1) median ratio 0.9× to 1.3× |
S1-lifecycle-onHTTP server, mixed read and write traffic, lifecycle on. Sizes: see report. Scope: end-to-end. | prefer cluster-forest 4 FASTER (2 cells: S1) median ratio 0.00856× to 0.0196× | not compared | not compared |
"Not compared": that reference has no cell in the family; ETT and HDT have no lifecycle support, so the lifecycle families are compared with compact-bfs only.
Lifecycle memory rules (L2)
Sustained lifecycle churn on cluster-forest, checked by the C rules: C1 engine vertices, C2 exact logical counts, C3 heap growth (late/early at most 1.25 and projected 30-cycle growth at most 10 %), C4 RSS growth with the same rules, as a disclosure.
- C1: 30 PASS
- C2: 60 PASS
- C3: 2 FAIL, 13 PASS
- C4: 9 EXCEEDS_BUDGET, 6 PASS
C3 FAIL (2)
The growth figures are projected from the slope of the heap curve to 30 cycles, not measured growth.
| Run | Workload | Graph | Nodes | Metric | Late / early | Projected 30-cycle growth | First → last |
|---|---|---|---|---|---|---|---|
C-heap-lifecycle-cluster-forest-sparse-same-1000 | reuse same | sparse | 1 000 | net_heap_bytes | 1.133 | +20.2 % (projected from the slope) | 558 512 → 650 736 B |
C-heap-lifecycle-cluster-forest-sparse-toggle-1000 | toggle | sparse | 1 000 | net_heap_bytes | 1.146 | +14.6 % (projected from the slope) | 558 512 → 656 824 B |
Disposition. The two C3 FAILs are accepted by the maintainer as a documented limitation of the cluster-forest lifecycle on the sparse 1 000-node graph; their class stays FAIL and memory stability for those two workloads stays open.
C4 EXCEEDS_BUDGET (9)
A disclosure category (allocator retention in RSS), never converted into PASS or FAIL.
| Run | Workload | Graph | Nodes | Metric | Late / early | Projected 30-cycle growth | First → last |
|---|---|---|---|---|---|---|---|
C-rss-lifecycle-cluster-forest-sparse-fresh-1000 | fresh | sparse | 1 000 | net_rss_bytes | 1.688 | +116.0 % (projected from the slope) | 589 824 → 1 327 104 B |
C-rss-lifecycle-cluster-forest-sparse-same-1000 | reuse same | sparse | 1 000 | net_rss_bytes | 1.150 | +31.5 % (projected from the slope) | 589 824 → 753 664 B |
C-rss-lifecycle-cluster-forest-sparse-toggle-1000 | toggle | sparse | 1 000 | net_rss_bytes | 1.154 | +17.5 % (projected from the slope) | 606 208 → 737 280 B |
C-rss-lifecycle-cluster-forest-sparse-fresh-10000 | fresh | sparse | 10 000 | net_rss_bytes | 2.270 | +209.9 % (projected from the slope) | 3 342 336 → 9 519 104 B |
C-rss-lifecycle-cluster-forest-sparse-fresh-100000 | fresh | sparse | 100 000 | net_rss_bytes | 2.657 | +307.4 % (projected from the slope) | 18 759 680 → 104 398 848 B |
C-rss-lifecycle-cluster-forest-sparse-same-100000 | reuse same | sparse | 100 000 | net_rss_bytes | 1.021 | +32.0 % (projected from the slope) | 24 657 920 → 34 570 240 B |
C-rss-lifecycle-cluster-forest-ring-fresh-100000 | fresh | ring | 100 000 | net_rss_bytes | 3.016 | +293.4 % (projected from the slope) | 29 196 288 → 111 132 672 B |
C-rss-lifecycle-cluster-forest-hub-fresh-100000 | fresh | hub | 100 000 | net_rss_bytes | 2.479 | +255.4 % (projected from the slope) | 27 181 056 → 102 957 056 B |
C-rss-lifecycle-cluster-forest-hub-same-100000 | reuse same | hub | 100 000 | net_rss_bytes | 1.061 | +67.5 % (projected from the slope) | 13 598 720 → 25 116 672 B |
Class counts per block
| Block | Reference | Classes |
|---|---|---|
| K1 | vs compact-bfs | 8 FASTER, 8 SLOWER |
| K1 | vs ETT | 4 FASTER, 11 SLOWER, 1 TIMER_LIMITED |
| K1 | vs HDT | 6 FASTER, 8 SLOWER, 2 TIMER_LIMITED |
| K2 | vs compact-bfs | 6 FASTER, 6 SLOWER |
| K2 | vs ETT | 2 EQUIVALENT, 1 FASTER, 9 SLOWER |
| K2 | vs HDT | 3 EQUIVALENT, 5 FASTER, 1 INCONCLUSIVE, 3 SLOWER |
| K2x | vs compact-bfs | 6 SLOWER |
| K2x | vs ETT | 3 FASTER, 3 SLOWER |
| K2x | vs HDT | 1 EQUIVALENT, 4 FASTER, 1 INCONCLUSIVE |
| K3 | vs compact-bfs | 12 SLOWER |
| K3 | vs ETT | 12 FASTER |
| K3 | vs HDT | 12 FASTER |
| K4 | vs compact-bfs | 24 LARGER |
| K4 | vs ETT | 5 SIMILAR, 19 SMALLER |
| K4 | vs HDT | 24 SMALLER |
| L1 | vs compact-bfs | 3 FASTER, 8 SLOWER |
| L3 | vs compact-bfs | 1 INCONCLUSIVE, 10 SLOWER |
| L4 | vs compact-bfs | 19 LARGER, 1 SIMILAR |
| S1 | vs compact-bfs | 12 FASTER |
| S1 | vs ETT | 6 EQUIVALENT, 2 SLOWER |
| S1 | vs HDT | 6 EQUIVALENT, 2 SLOWER |
Method and perimeter
- Campaign: v1.1.0 CF5, attempt 1, session 1 (2026-11-24 to 2026-11-25)
- Candidate
02cba6825f9ad9ef769f4006428ccad5509076e9, toolingf4d41f19869c0a63baa0ce32d91ab02c1dd1522f - Host: Apple M3 (8 cores), 16 GB, macOS 26.5.2, Rust 1.100.0, AC power; server, PostgreSQL (S3 only) and load generator on the same machine
- Paired design, 24 measured pairs per timed cell, interval [r(7), r(18)] of the paired log ratios (97.73 %); margins: time 10 %, tail 25 %, throughput 10 %, memory 20 %. K4 and L4 are deterministic allocator counts, one run per arm.
- Host swap activity not verifiable; results accepted by the maintainer with this limitation. Swap occupancy was 738.25 MB at the start and at all 30 snapshots, and 722.25 MB at the end; the 192 zero values of the per-process swap counter concern only the V1 processes observed.
- Statements hold only for the measured workloads, sizes and densities, this host, candidate 02cba68 and the server configurations used.
- The measurement limit is a calibration estimate, not a mathematical bound; per-operation timing (K1, L3 churn) is not quantified.
Reading this page
- prefer cluster-forest
- the family favours cluster-forest
- prefer reference
- the family favours the reference engine
- mixed results
- classes point in different directions
- insufficient evidence
- a non-conclusive cell (INCONCLUSIVE or TIMER_LIMITED) prevents a statement
- no difference beyond the margins
- every class is within the margins
- isolated differences
- within the margins except a few cells
FASTER- cluster-forest faster beyond the margin
SLOWER- cluster-forest slower beyond the margin
EQUIVALENT- difference within the margin
INCONCLUSIVE- interval too wide to decide
TIMER_LIMITED- difference not resolvable at the measurement limit; not counted
SMALLER- cluster-forest uses less memory (deterministic count)
LARGER- cluster-forest uses more memory (deterministic count)
SIMILAR- memory within the margin