It's possible to determine good values automatically: Measure your typing speed.
You can do it in the background with:
https://pavpanchekha.com/blog/emacs-keylogger.html
and periodically update the latency parameters to be just over your natural typing speed.
I just chose to use an editor whose very architecture doesn't require nonsense like this so the editor doesn't freeze on me.