I created a benchmark for assessing animations using JfreeChart, and i get this results:
- In the animation A1,I use JFreeChart in a Swing window and the animation uses between 47% and 52% of the cpu time.
- In the animation A2, I place charts in a swt window in an attempt to obtain performances (cpu time) close to swt thanks to the method
Code: Select all
SWT_AWT.new_Frame(Composite parent)
Unfortunately, I obtain the same performances (cpu time) that the animation A1 (JFreeChart in a Swing window : 52%).
- For the animation A3, I developped a chart in SWT that represents a gauge.
I use it in the animation A3 and only 25% of the cpu time is used.
So I would like to know if it's normal to obtain similar performances between JfreeChart into a Swing window and JfreeChart
into Swt window.
Thanks You.