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

Scatter render optimization #5

Merged
merged 4 commits into from
Oct 15, 2019

Conversation

StendProg
Copy link
Contributor

@StendProg StendProg commented Oct 14, 2019

Optimize Skia render calls count by using SKPath.
This significant improve performance 4000 lines works fast.
Fill style for markers significant increace memory usage (for some way of caching, no memory leaks):

  • 2 GB for 2 x 2000 points scatter with Filled circles markers and grows linear.
  • 100-140 MB for 2 x (2000 - 5000) points scatter with Stroke circles markers

Way to improve memory usage - set Stroke style for markers. Will it realy need draw scatters more then 10000 points?

ClipRect moves outside plottables. Small performance improvement.

Marker style now stroke (fill style produce memory leaks).
Updated demo project for test heavy load.
@swharden swharden merged commit e5bf826 into swharden:master Oct 15, 2019
@StendProg StendProg deleted the ScatterRenderOptimisation branch October 17, 2019 14:34
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.

None yet

2 participants