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

Large files are slow and unstable #11201

Closed
OverLordGoldDragon opened this issue Dec 31, 2019 · 9 comments
Closed

Large files are slow and unstable #11201

OverLordGoldDragon opened this issue Dec 31, 2019 · 9 comments

Comments

@OverLordGoldDragon
Copy link
Contributor

OverLordGoldDragon commented Dec 31, 2019

Demo. Observations:

  • Scrolling is very slow
  • Highlighting is very slow
  • Adding / removing characters is very slow
  • Adding / removing a character when entire file is highlighted leads to freeze/hang

Note: 18000 lines in the file

@ccordoba12
Copy link
Member

Duplicate of #10992

@ccordoba12 ccordoba12 marked this as a duplicate of #10992 Dec 31, 2019
@ccordoba12
Copy link
Member

It'll be fixed in our next version.

@ccordoba12
Copy link
Member

Several other perfomance improvements were already done and it'll be part of 4.0.1 too.

@jmoraispk
Copy link

@ccordoba12 I'm using Spyder 4.1.3 and I experience this exact issue with a file with just ~1000 lines. Less severe than the @OverLordGoldDragon 's demo, not sure if due to 18x fewer lines or due to some fixes, but it still is very noticeable.

@GitHunter0
Copy link

GitHunter0 commented Jul 8, 2020

@ccordoba12 I'm using Spyder 4.1.3 and I experience this exact issue with a file with just ~1000 lines. Less severe than the @OverLordGoldDragon 's demo, not sure if due to 18x fewer lines or due to some fixes, but it still is very noticeable.

@ccordoba12 , I have the same problem, it makes Spyder, which is an awesome IDE, unusable. Shouldn't be the case to reopen this issue?

PS: JupyterLab is having the same issue, it lags and freezes when dealing with files that are not small.

@dalthviz
Copy link
Member

dalthviz commented Jul 8, 2020

Hi @fmgithub2017 and @jmoraispk we have #13020 open for some editor performance issues detected in Spyder 4.1.3 (we found that some options in the Editor are causing lag/performance issues, most notably Underline errors and warnings ). Maybe you can follow up there how we will be tackling the Editor performance issues :)

@GitHunter0
Copy link

@dalthviz , thanks man, closing the Outline Pane made a massive difference.

Just a quick unrelated doubt, the Ctrl+Shift+O shortcut just works to open the Outline Pane but not to close it (I have to do it via mouse clicks), is it right?

@dalthviz
Copy link
Member

dalthviz commented Jul 8, 2020

Glad you where able to work around the problem @fmgithub2017 👍

About the shortcuts, yep that shortcut only enables opening the Outline Pane, however there is global shortcut to close panes (Ctrl+Shift+F4) that will close the current focused pane

short

@GitHunter0
Copy link

Hey @dalthviz , thanks again.
It would be great if the same shortcut opens and closes its corresponding pane, but I will try your solution.
Cheers

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

5 participants