Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance problem when "OverType" and "Better Folding" extension are both enabled #34

Open
carlocardella opened this issue Jan 30, 2023 · 0 comments

Comments

@carlocardella
Copy link

I have stumbled upon a weird performance problem when this extension is enabled along with Better Folding, details here.

I can repro the problem only if:

  1. Both OverType and Better Folding are enabled, and
  2. I am working on a long document (I am not identified yet how long, I was working on a doc with ~400 lines when I noticed the behavior)

I thought the actual problem was with OverType, but if I disable Better Folding and keep OVerType then I can work just fine with much longer documents. Then moment I re-enalbe Better Folding the problem comes back.
Also, with both extensions enabled I can work just fine with smaller documents (50-100 lines), the lag becomes noticeable ardoun 250-300 lines.

So there is some kind of weird interaction between the two extensions, I assume both do some type of document parsing and with longer documents they stumble on some bottlened/inefficient regex or something along those lines.

I am not sure how to go forward from here but if you need me to run some more tests I'll be happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant