cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
129 stars 18 forks source link

Slow on very large files (with vim plugin?) #64

Closed jpmorris closed 1 year ago

jpmorris commented 1 year ago

I am noticing nearly 0.5 to 1 second keypress lags with SQL NOTEBOOKS for my 2000-line file. I have another file that is only 275 lines that I don't see this, and I don't see this in 1000-line python files. It appears that it goes away if the vim plugin is disabled. Not sure if the issue is related to this plugin, but figured you should know.

cmoog commented 1 year ago

Thank you for this report. I have yet to reproduce this behavior. I tested a 3,000-line SQL file opened as a notebook with Vim enabled and saw no increase in input latency. The same was true for a 3,000-line .ipynb file opened as a notebook. I also enabled and disabled the embedded language server configuration option, with no perceivable effect. I also tried with local files vs. remote files (via Remote SSH) and saw no difference.

Any other ideas about what might be different with your setup?

jpmorris commented 1 year ago

It seems to have resolved itself as best I can tell. Sorry for the noise.