VSCode Slow with LSP

Hi again,

i just found one possible issue that slows down the LSP. The LSP seems to load the items from the rest API http://host:port/rest/items. So if the call to the rest api is slow, the LSP is also slow.

This thread helped me a bit out about this:

I also have the echo binding installed. So i made measurements… With 2 or 3 Items from my Echo i measured around 1.5-1.7s to load all the items from the rest api. When i removed the echo items it went down to 0.5s.

Then i tested both with vscode again and its much faster without the echo dot items.

So maybe its not a LSP issue but a problem with the REST api for some items.