Skip to content

ci: the benchmarks of a pull request held to those of its base - #13

Closed
gudoshnikovn wants to merge 0 commit into
release/v2.0.1.0from
feature/bench-gate
Closed

gudoshnikovn wants to merge 0 commit into
release/v2.0.1.0from
feature/bench-gate

Conversation

@gudoshnikovn

Copy link
Copy Markdown
Owner

bench.yml runs the overhead and memory blocks of the base and of the head in one
job, and benchmarks/gate.py compares them. Memory is held exactly: tracemalloc's
peak of each load within 1 KiB of the base's, so a new copy in Python fails, and
the peak resident rise of a batch within 1.1 times libphash's estimate. Time is
held relatively, since a shared runner's speed varies: each cell over the C cell
of its table, against the base's ratio. A growth past 15 % for a call whose C
cell is under 10 us, or 5 % for a whole load or hash, is a warning for now;
--fail-timing fails past 25 % or 10 % once the noise of the runners is known.
Parallelism and process pools are published, not gated.

🤖 Generated with Claude Code

@gudoshnikovn gudoshnikovn self-assigned this Oct 13, 2026
@gudoshnikovn
gudoshnikovn force-pushed the feature/bench-gate branch 2 times, most recently from 4a01852 to 92635dc Compare October 13, 2026 23:56
@gudoshnikovn
gudoshnikovn deleted the feature/bench-gate branch October 14, 2026 00:43
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