Software Engineering ยท Performance
Delaying execution of a function until a specified quiet period has passed since the last time it was called โ collapsing a burst of rapid calls into one.
Example: Waiting 300ms after the user stops typing before firing a search request, instead of querying on every keystroke.
In practice: Different from throttle โ debounce waits for a pause; throttle fires at a fixed maximum rate regardless of pauses. Both prevent a function from running more often than is useful.