Skip to content

bench: sparse stderr progress with elapsed and ETA - #167

Merged
reardencode merged 1 commit into
masterfrom
tool/bench-progress
Aug 20, 2026
Merged

bench: sparse stderr progress with elapsed and ETA#167
reardencode merged 1 commit into
masterfrom
tool/bench-progress

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Why

A packed casa (~4k keys × 10 passes) or sparrow (3000-key load/refresh) run can sit silent for minutes. Need a sense of how far through the current suite we are without flooding stdout (the p50/p95 table).

What

  • Stderr line: rbitcoin-bench: casa electrum 128/40960 (0%) elapsed 12s left ~17m
  • Emits at start, each 5% of work units, and at most once extra per 15s (slow keys).
  • Sparrow relabels loadrefresh (→ txs if --fetch-txs).
  • Stdout report unchanged.

A casa/sparrow corpus run can take minutes with no output until the
final table. Print a short stderr line at start, each 5% of work,
and at most once per 15s, including remaining time. Stdout stays
the p50/p95 report.
@reardencode
reardencode merged commit b301ffa into master Aug 20, 2026
13 checks passed
@rearden-grok
rearden-grok Bot deleted the tool/bench-progress branch August 20, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant