Commit 19e438e
drop arbitrary leansig.* workload; xmss.* already measures leanSpec PROD_CONFIG
`SIGTargetSumLifetime20W4NoOff` (V=39, W=4, TARGET_SUM=293, LIFETIME=2^20)
turned out to be a leanSig-internal benchmark sample — only used by
leanSig's own `src/bin/main.rs`, not pinned by any consensus client,
spec, or leanMultisig configuration. Our `xmss.*` workload already
measures `leansig_wrapper::LeanSigScheme`, whose parameters
(DIMENSION=46, BASE=8, TARGET_SUM=200, LOG_LIFETIME=32) exactly
mirror leanSpec's `PROD_CONFIG` per
`workspace/leanSpec/src/lean_spec/subspecs/xmss/constants.py`. So the
leansig.* group was a duplicate of nothing — measuring a configuration
no one ships.
Drop:
- The `leansig` workload module (workloads.rs).
- The Cli::Leansig{Keygen,Sign,Verify} variants + dispatch (main.rs).
- The three Workload entries in ALL_WORKLOADS (bench.py).
- The README "Workload groups" entry for leanSig.
Also drop `samples_override=300` on xmss.sign. The override was
statistically motivated when signing was randomized per-attempt
(rng-driven `rho`); cv ≈ 0.85 made n=30 give a ±30% CI on the mean.
devnet5's signing is fully derandomized — `rho` is a deterministic
PRF output of (sk.prf_key, epoch, message, attempts) — so for the
fixed (sk, epoch, message) the time_loop measures the same instance
each iteration and within-run cv collapses to CPU-clock noise. On
M1 Max devnet5: cv ≈ 0.014 at n=30, 95% CI on the mean ≈ ±0.5%.
The trade-off is that we now measure one specific (epoch, message)
instance rather than an average over the geometric retry distribution,
but that was already the case at n=300; the override only narrowed
the within-instance noise, not across-instance variation.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eef1b0d commit 19e438e
9 files changed
Lines changed: 127982 additions & 122 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
0 commit comments