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

Resizing the window is very slow #37

Closed
sedwards2009 opened this issue Oct 23, 2016 · 3 comments
Closed

Resizing the window is very slow #37

sedwards2009 opened this issue Oct 23, 2016 · 3 comments

Comments

@sedwards2009
Copy link
Owner

When Extraterm contains many frames (~100) it can take seconds for the window to update after a resize. The same applies when splitting/unsplitting the window panes.

Most of the problem is caused by the uncoordinated update of the DOM by the hundreds of CodeMirror instances. This thrashes the browser DOM and causes a lot of unneeded layouts and work.

@sedwards2009
Copy link
Owner Author

This is also likely affect other desired features like tab font sizing.

@sedwards2009
Copy link
Owner Author

I think this also affects entering/exiting cursor mode.

sedwards2009 added a commit that referenced this issue Oct 27, 2016
…ne CodeMirror operation to reduce DOM thrashing. Result: huge speed ups when resizing.

 #37
@sedwards2009
Copy link
Owner Author

A bunch of use cases have been improved, but full refreshes (i.e. after changing the font size or CSS) tend to explode in time as the scrollback grows. #40 is the final solution for this.

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

No branches or pull requests

1 participant