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

Improve rendering performance for feature trees #24

Open
ekuiter opened this issue Sep 19, 2018 · 0 comments
Open

Improve rendering performance for feature trees #24

ekuiter opened this issue Sep 19, 2018 · 0 comments
Labels
client enhancement New feature or request
Milestone

Comments

@ekuiter
Copy link
Owner

ekuiter commented Sep 19, 2018

When rendering large feature models, the tree layouts render hundreds of SVG elements, causing performance issues. There are some approaches to improve this:

  • render less SVG elements per feature model element (likely impairing animations and code quality)
  • render large feature models (e.g., > 1000 SVG elements) to a canvas (no more animations, complicates click capturing, rendering the SVG to a canvas also takes some time!)
  • profile the drawing process and do some micro-optimizations
  • improve the "fit to screen" command so that it is not necessary to draw large feature models, e.g.
    • do not collapse features until the model fits, but expand them until it does not fit (for large models, this should be much faster)
    • warn if the "expand all" operation will be slow
    • when rendering takes long, warn the user and advise him to fit to screen/change to another layout
@ekuiter ekuiter added enhancement New feature or request client labels Sep 19, 2018
@ekuiter ekuiter added this to the Long-term milestone Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant