Files
zeekay 65a56203c3 chore: initial commit — tree had no git at all
github.com/luxfi/bench existed only as loose files: no .git, no history, no
remote. An rm -rf would have destroyed it with nothing to recover from, and it
was invisible to every repo sweep that looks for a .git directory.

Includes the dependency repair that makes it build again. It previously failed
with:

    reading github.com/luxfi/geth/go.mod at revision v1.16.98: unknown revision

The v1.16.x line was DELETED from github.com/luxfi/geth. The requirement came
from github.com/luxfi/crypto, which pins the dead tag AND excludes the
alternative in every version through v1.20.0; v1.20.2 is the first that moved
to geth v1.20.1, so bumping crypto is what escapes it. geth then drops out of
go.mod entirely.

The compiled luxbench binary is ignored rather than committed.

Verified: go build ./... exits 0.

NOTE: no remote — luxfi/bench does not exist on GitHub. This is still one copy
in one place.
2026-07-26 04:23:44 -07:00

871 B
Raw Permalink Blame History

modes/multi_validator — TODO (Phase 3)

Port /tmp/multi-validator/ to this directory:

  • harness.go + the build artifacts (bench-darwin-arm64, thresholdd-darwin-arm64) move here. The harness orchestrates a 10v / 100v / 500v validator network across 3 consensus profiles (aurora / hybrid / polaris) and emits one JSON per tier×profile.
  • Mode-specific flags: --scale=10|100|500, --profile=aurora|hybrid|polaris.
  • Native sampling (NOT go test -bench wrapping) — the harness times its own rounds and constructs ResultRecord directly.
  • Extras to surface (current keys from /tmp/multi-validator/result-*.json): blocks_per_sec, bls_p50_ms, pulsar_p50_ms, corona_p50_ms, magnetar_p50_ms, finality_p50_ms, cert_tier_final, host_cpu_max, host_mem_max_mb.

Until ported, run the legacy bench out of /tmp/multi-validator/.