You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Documents that are large and or have lots of moving parts slow down the editor when the previewer is active. There is a noticeable delay between pressing a key and seeing the resulting character on screen. Note that this is the editor window that has higher input latency.
Expected Behavior
I'd expect the preview window to slow down as the document becomes more complex (more processing is done), but input latency should still be the same for the editor window.
Tinymist extension version: v0.11.32. I'm using the bundled tinymist.
Additional context
I managed to reproduce the bug with the following example:
#import"@preview/wordometer:0.1.2": word-count, total-words#show: word-count#lettotal= [
#setalign(center)
#box(stroke: black, inset: 5pt, radius: 5pt, [Word Count = #total-words])]
#lorem(500)
// type something here to see delay
The quick brown fox jumpst over the lazy dog
#total
Make sure the preview is active and you should see input delay. If not, try increasing the argument to the #lorem() function.
Note that it isn't the wordometer package causing this exactly, but the processing required to count the words seems to slow down the editor. I've also noticed this occurring without the wordometer package.
I imagine updating the preview is a "blocking" operation for some reason, preventing the vscode window from updating until the preview does.
The text was updated successfully, but these errors were encountered:
Describe the bug
Documents that are large and or have lots of moving parts slow down the editor when the previewer is active. There is a noticeable delay between pressing a key and seeing the resulting character on screen. Note that this is the editor window that has higher input latency.
Expected Behavior
I'd expect the preview window to slow down as the document becomes more complex (more processing is done), but input latency should still be the same for the editor window.
Package/Software version:
VSCode version(Help -> About):
Tinymist extension version:
v0.11.32
. I'm using the bundled tinymist.Additional context
I managed to reproduce the bug with the following example:
Make sure the preview is active and you should see input delay. If not, try increasing the argument to the
#lorem()
function.Note that it isn't the wordometer package causing this exactly, but the processing required to count the words seems to slow down the editor. I've also noticed this occurring without the wordometer package.
I imagine updating the preview is a "blocking" operation for some reason, preventing the vscode window from updating until the preview does.
The text was updated successfully, but these errors were encountered: