turbo-tasks-backend: add realistic variants to priority_contention bench
Add `realistic_warm` and `realistic_initial` variants (same node budgets as
the uniform stress variants) that model the invalidation contention of a warm
build with some changed files:
- partial invalidation with cutoff: one input state per column, 1/16 of the
inputs change per warm iteration, and imports are read through a rarely
changing summary, so most re-executed nodes keep their value
- irregular shape: 0-5 hash-chosen imports per node
- hierarchical fan-in: 16 differently sized groups, each read by its own root
task, with imports mostly within a group plus a shared group
- a fixed amount of per-node work
Every warm iteration is checked against an incrementally updated reference.
`PRIORITY_CONTENTION_DIAGNOSTICS=1` runs an untimed check that records actual
executions and produced values and asserts that the invalidation is partial and
cut off.
The scaling script now expects exactly the 8 variants of the group.
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment