Reducing the CPU usage in real-time charts that are frequently updated

Article ID: 2335
Last updated: 29 May, 2018
Article ID: 2335
Last updated: 29 May, 2018
Revision: 3
Views: 628
Posted: 18 Jun, 2010
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to reduce the CPU usage in real-time charts that are frequently updated?

Answer

Here are some hints for lowering the CPU usage for real-time charts:

  • Enable batching on the data sets if the bottleneck is in the intermediate computations done by the renderers or in CSS styling.
  • Add a repaint manager, IlvExpensiveDrawingRepaintManager, that optimized the drawing by avoid merging dirty rectangles that are far apart.
  • Make the drawing simpler.
    For example, avoid using antialiasing for polylines or remove some rendering hints specified through CSS.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2335
Last updated: 29 May, 2018
Revision: 3
Views: 628
Posted: 18 Jun, 2010 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category