diff options
| author | tv <tv@krebsco.de> | 2026-11-08 20:22:10 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-08 21:22:30 +0100 |
| commit | 3813a447485f54f8e5beed307dd690c4c7d1584b (patch) | |
| tree | 23f03d8b0a776445346d31dad754acfefbb30624 /src/backoff.rs | |
| parent | b40d3f7ca3f92373eca8dd0683d37183559c78e6 (diff) | |
screen: read once per batch whether the policy is strict
The profile of bench_screening puts screening at about 21% of the
samples, half of it Automerge applying the changes. Of the other half,
reading the policy for every change taken is the largest part (3.4%):
reaches_signed reads it, and what users sign, to tell whether the
change must go in before the next is judged.
Read them once, and again only after the document took the accepted
ones; a change to the policy or to what users sign is relevant, taken
at once. A change touching nothing reaches nothing.
Diffstat (limited to 'src/backoff.rs')
0 files changed, 0 insertions, 0 deletions
