For me the culprit was windows defender. You can see the spike in CPU. Renaming two files causes it to delay. I made the decision to turn windows defender off. I no longer have that lag.
Search feature put in win def
window defender icon should appear
click to open
go to settings and uncheck...