Files
bench/vs-ava/results/engine_bench_raw.txt
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

28 lines
2.0 KiB
Plaintext

goos: darwin
goarch: arm64
pkg: github.com/luxfi/consensus/engine/chain
cpu: Apple M1 Max
BenchmarkAddSingleBlock-10 1000000 1373 ns/op 922 B/op 6 allocs/op
BenchmarkAddSingleBlock-10 1000000 1188 ns/op 921 B/op 6 allocs/op
BenchmarkAddSingleBlock-10 1000000 1214 ns/op 922 B/op 6 allocs/op
BenchmarkAddSingleBlock-10 1000000 1159 ns/op 921 B/op 6 allocs/op
BenchmarkAddSingleBlock-10 1000000 1211 ns/op 921 B/op 6 allocs/op
BenchmarkProcessSingleVote-10 3264974 448.4 ns/op 109 B/op 1 allocs/op
BenchmarkProcessSingleVote-10 3012904 424.6 ns/op 114 B/op 1 allocs/op
BenchmarkProcessSingleVote-10 3011953 417.9 ns/op 114 B/op 1 allocs/op
BenchmarkProcessSingleVote-10 3148124 429.0 ns/op 112 B/op 1 allocs/op
BenchmarkProcessSingleVote-10 3095898 422.1 ns/op 113 B/op 1 allocs/op
BenchmarkFinalizationCheck-10 66010684 19.44 ns/op 0 B/op 0 allocs/op
BenchmarkFinalizationCheck-10 66092181 19.05 ns/op 0 B/op 0 allocs/op
BenchmarkFinalizationCheck-10 67674421 18.44 ns/op 0 B/op 0 allocs/op
BenchmarkFinalizationCheck-10 71239696 17.97 ns/op 0 B/op 0 allocs/op
BenchmarkFinalizationCheck-10 71005568 20.13 ns/op 0 B/op 0 allocs/op
BenchmarkBlockAcceptance-10 4602512 251.3 ns/op 296 B/op 4 allocs/op
BenchmarkBlockAcceptance-10 4703828 269.2 ns/op 296 B/op 4 allocs/op
BenchmarkBlockAcceptance-10 4637824 250.9 ns/op 296 B/op 4 allocs/op
BenchmarkBlockAcceptance-10 4829844 257.6 ns/op 296 B/op 4 allocs/op
BenchmarkBlockAcceptance-10 4701016 241.0 ns/op 296 B/op 4 allocs/op
PASS
ok github.com/luxfi/consensus/engine/chain 30.495s
ENGINE_BENCH exit=0 2026-07-10T19:47:08Z