Hi,
i would like to show some annotations in my chart, but if I do that the performance decreases strongly and the GPU load rising rapidly.
Is there anything I can do to improve the Performance? I've already disabled the AntiAliasing for arrow and border.
thank you very much
Igor
Performance with many annotations
Moderator: Queue Moderators
Re: Performance with many annotations
I use a nVidia Geforce 210 and the GPU-Load is by 90%.
In this case my application is barely usable.
In this case my application is barely usable.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Performance with many annotations
Hello,
I tested with 100 annotations with my 6 years old laptop with Radeon HD 4300 M. It was barely usable. Desktop Radeon HD 6700 goes over 1000 annotations and still it's well usable.
Geforce 210 is in same performance level than my laptop's 4300 according to http://www.videocardbenchmark.net/gpu_list.php.
Annotations are versatile but complex objects, and they have fill made with GPU-side stencil. Making that stencil takes a lot of time when analyzing performance profiler results.
By setting annotation.LayerGrouping = true will help a little bit in text rendering because it batches all the texts in one layer and that layer is rendered over the graphic shapes of annotations.
Replacing the annotations with markers will give a great performance gain. Annotations have their limitations, but at least you can think of it. Clicking a marker would open an annotation with details, perhaps?
Or replace the GPU...
I tested with 100 annotations with my 6 years old laptop with Radeon HD 4300 M. It was barely usable. Desktop Radeon HD 6700 goes over 1000 annotations and still it's well usable.
Geforce 210 is in same performance level than my laptop's 4300 according to http://www.videocardbenchmark.net/gpu_list.php.
Annotations are versatile but complex objects, and they have fill made with GPU-side stencil. Making that stencil takes a lot of time when analyzing performance profiler results.
By setting annotation.LayerGrouping = true will help a little bit in text rendering because it batches all the texts in one layer and that layer is rendered over the graphic shapes of annotations.
Replacing the annotations with markers will give a great performance gain. Annotations have their limitations, but at least you can think of it. Clicking a marker would open an annotation with details, perhaps?
Or replace the GPU...
LightningChart Support Team, PT
Re: Performance with many annotations
It could be that our customers have installed this graphics card in the worst case, but that will probably be the exception.
I have noticed that many lineSeries and data points may cause that minimize and maximize of the form works not well anymore.
In worst case I couldn't maximize the form anymore.
Unfortunately I couldn't reproduce the issue in a sample application.
Do you have heard about something like this?
I have noticed that many lineSeries and data points may cause that minimize and maximize of the form works not well anymore.
In worst case I couldn't maximize the form anymore.
Unfortunately I couldn't reproduce the issue in a sample application.
Do you have heard about something like this?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Performance with many annotations
You have PointsVisible = true in your series? How many points? Have you defines chart.SizeChanged or chart.Resize event handler, and doing chart updating there? If you do, remember to use chart.BeginUpdate() ... chart.EndUpdate() around your code to prevent extra refreshes.
LightningChart Support Team, PT
Re: Performance with many annotations
Upgrade from V6.5.6 to V7.0.2 solved this issueI have noticed that many lineSeries and data points may cause that minimize and maximize of the form works not well anymore.
In worst case I couldn't maximize the form anymore.
Unfortunately I couldn't reproduce the issue in a sample application.
Do you have heard about something like this?
Igor
Posts: 34
Joined: Mon Sep 28, 2015 1:14 pm