Skip to content

hash: bench/collect.py builds the throughput table only from release builds - #3

Merged
pinhopro merged 1 commit into
mainfrom
tools/release-only-throughput
Nov 17, 2026
Merged

pinhopro merged 1 commit into
mainfrom
tools/release-only-throughput

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

bench/collect.py, which measures bench/pbkdf2_sha512 and renders doc/performance.adoc, now builds its table only from release builds:

  • a program whose build directory, b2's bench/<toolset>/<variant>/..., is not variant=release, or does not say, is refused before anything runs or is written;
  • --render-only refuses data whose build is not variant=release optimization=speed, before it writes the page.

Tested by the superproject's tools/test/hash_collect_test.py (webcpporg/webcpp, branch tools/wasi-sysroot), which moves libs/hash to this commit.

🤖 Generated with Claude Code

…builds

collect.py refuses a program whose build directory, b2's
bench/<toolset>/<variant>/..., is not variant=release or does not say,
before anything runs, and --render-only refuses data whose build is not
variant=release optimization=speed, before it writes the page.
@pinhopro
pinhopro force-pushed the tools/release-only-throughput branch from 01d46a2 to 624f816 Compare November 17, 2026 00:56
@pinhopro
pinhopro merged commit c3d9468 into main Nov 17, 2026
3 checks passed
@pinhopro
pinhopro deleted the tools/release-only-throughput branch November 20, 2026 04:18
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