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

DOM renderer: Don't output empty cells at end of a line #1792

Merged
merged 7 commits into from
Nov 23, 2018

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Nov 22, 2018

Fixes #1609


This is an optimization to help make the DOM renderer more viable if the canvas renderer is replaced by #1790


Using the testing process outlined in https://github.com/xtermjs/xterm.js/wiki/Performance-testing#renderer (numbers measured on dc077a1)

87x26 viewport

Before: frames 16, average 11.53ms
After: frames 24, average 5.88ms

300x80 viewport

Before: frames 11, average 115.83ms
After: frames 13, average 17.12ms

@Tyriar Tyriar added this to the 3.9.0 milestone Nov 22, 2018
@Tyriar Tyriar self-assigned this Nov 22, 2018
@Tyriar
Copy link
Member Author

Tyriar commented Nov 23, 2018

This row overflow bug was fixed in 478dfee

screen shot 2018-11-23 at 6 50 53 am

Copy link
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Tyriar Tyriar merged commit c6c6758 into xtermjs:master Nov 23, 2018
@Tyriar Tyriar deleted the 1609_dom_no_null_cells branch November 23, 2018 15:06
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

Successfully merging this pull request may close these issues.

2 participants