pub fn changes(
config: &Config,
history: &History,
context: Context<'_>,
) -> Vec<SizingChange>Expand description
The changes to make now, in order: one per profile whose advice is to change it, that no change in the last
[sizing] interval touched. Empty unless [sizing] auto is on. Each moves memory toward the advice by at most
[sizing] max_step percent, within the profile’s min_memory and max_memory. Under caps admission slots
follow the memory as the advice has them, at most max_slots, and never under what runs; under measured, a
profile whose jobs wait gets one more slot, up to max_slots, when every profile’s slots fit the slice at their
jobs’ p95 peaks. Each change is sized as if the ones before it were written: they take budget the later ones
cannot.