Mac OS lag when typing
My imac 27 began lags when i typing.
When you type - the text is printed with a delay, while some keys may be duplicated.
For example, I type the word car, at first nothing will be displayed, and after 2 seconds a carrrrr will appear.
I reread similar threads in Google, removed all unnecessary programs, checked the system monitor, sometimes some programs jump to 100% of the processor load, but this is very rare and in most cases the load is at around 30%
ps. Immediately I apologize for my English, this is not my native language and I translate using google translator
video: https://drive.google.com/file/d/18ycbmx2nKFD-uhZXTZMdWuE7MnTjEz0Q/view?usp=sharing