Lets say we have a simple example as below.
<input id=filter type=text />
<script>
function reload() {
// get data via ajax
}
$('#filter').change($.debounce(250,reload));
</script>
What we're doing is introducing a small delay so that we reduce the number of calls to reload
whilst the user is typing text into the input.
Now, I realise that this will depend on a case by case basis but is there an accepted wisdom of how long the debounce delay should be, given an average (or maybe that should be lowest common denominator) typing/interaction speed. I generally just play around with the value until it feels right, but I may not represent a typical user. Has anyone done any studies on this?