Files
consensus/protocol
zeekay 8906da502e bench(quasar): measured per-lane + composed PQ policy-tier benchmarks
Adds REAL go test -bench measurements (M1 Max) of VERIFY latency, cert
SIZE, and SIGN cost for every Quasar finality lane, composed into the five
named policy tiers (BLS_FAST .. POLARIS_MAX). Drives the operator policy-tier
+ deployment decision with data, not estimates.

- bench_pq_policy_tiers_test.go: per-lane verify/sign sub-benchmarks over the
  PRODUCTION verify functions and real crypto (Beam BLS, Pulsar TALUS compact,
  Pulsar sampled r-of-m, Corona Ring-LWE, Magnetar-Quorum N SLH-DSA, P3Q direct
  N ML-DSA) + a composed-tier summary table (verify ns, cert bytes, x-overhead
  vs BLS) printed via fmt.Printf (go test truncates large b.Log in benchmarks).
- Widen 8 shared real-key test harness helpers from *testing.T to testing.TB
  (the canonical Go idiom) so benchmarks reuse the exact production cert
  builders; strict interface widening, zero behaviour/caller change.

No production code touched; test/bench-only. Suites green except the
pre-existing flaky quantum-bundle threshold tests (a different one fails each
run on clean main too).
2026-06-28 06:50:50 -07:00
..