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

Fix texts performance #6

Open
4 tasks
w8r opened this issue Mar 21, 2022 · 0 comments
Open
4 tasks

Fix texts performance #6

w8r opened this issue Mar 21, 2022 · 0 comments

Comments

@w8r
Copy link
Owner

w8r commented Mar 21, 2022

app.setGraph takes 8s with texts, 8ms without texts.
It is likely that creating the curves has bad defaults and it takes forever to create the geometries.

Possible solutions

  • sample all texts that haven't changed
  • change the detalisation
  • remove texts that are outside of the scene
  • change the text solution altogether (maybe troika again)
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