Rendering performance when plotting multi lineseries with high fps

Oystein Bjorke 10 ár síðan 0
This discussion was imported from CodePlex

sunwayking wrote at 2013-06-16 04:47:

In my project, there are 500 groups of data per second, each group contains 5000 points( type is double). I let plotter control to render 25 groups of data per frame, and render them 20 times(500/25) in one second. Any idea to improve the rendering performance?

PS. OxyPlot is used in WPF 4.5
Program is running on my IBM Server(8 CPU cores, 16GB Memory)

objo wrote at 2013-06-18 12:48:

See https://oxyplot.codeplex.com/wikipage?title=Performance&referringTitle=Documentation
Turn off markers, axis grid lines, smoothing. Do not use ItemsSource (binding is slow).

125000 points at 20fps is probably at the limit of what is possible with WPF shapes (I tested the same number of points in the WpfExamples/RealtimeDemo)
Creating a rendering context for WPF using WriteableBitmap or DirectX could be a solution to achieve higher frame rates...

sunwayking wrote at 2013-06-20 12:39:

objo wrote:
See https://oxyplot.codeplex.com/wikipage?title=Performance&referringTitle=Documentation
Turn off markers, axis grid lines, smoothing. Do not use ItemsSource (binding is slow).

125000 points at 20fps is probably at the limit of what is possible with WPF shapes (I tested the same number of points in the WpfExamples/RealtimeDemo)
Creating a rendering context for WPF using WriteableBitmap or DirectX could be a solution to achieve higher frame rates...
Thanks for your advice. I gonna try WriteableBitmap.