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

Continue to optimize performance #12

Open
3 of 4 tasks
SamGRosen opened this issue Jun 29, 2021 · 0 comments
Open
3 of 4 tasks

Continue to optimize performance #12

SamGRosen opened this issue Jun 29, 2021 · 0 comments

Comments

@SamGRosen
Copy link
Member

SamGRosen commented Jun 29, 2021

Currently the performance is good, but it could be better, as current features were implemented with an MVP mindset. Some possible optimizations:

  • Use of TRIANGLE_FAN when rendering circle points
  • Use of TRIANGLE_STRIP when rendering area plots TRIANGLE_STRIP and FAN will actually lower performance due to an inability to do batch draw calls as each mark drawn with a strip or a fan will require an individual draw call.
  • Switch to WEBGL2 (create vertex array, upgrade shaders) Completed in Add arc mark type #21
  • Use index buffers to avoid creating duplicate vertices
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