A performance budget sets limits on values such as transferred bytes, request count, or user-facing timing. It makes the cost of added features explicit.
The demo grows image bytes until the total crosses a budget line, then reduces them. Set limits for real audience and device conditions, and pair release checks with field measurements.
When to use
Use it as a release guard when new features repeatedly increase image or script cost.