Slow performance when dealing with large Datasets

Take a look here, and see if any of this can help you.

Also, if you are using inputs, especially typed, make sure you are using debounce