Page 1 of 1

XE3 FMX TeeChart Performance

Posted: Tue Nov 20, 2012 2:53 am
by 16562684
Dear,

Performance issues
I use Delphi 7 and TeeChart CPU load of 1 to 2%,
But Delphi XE3 and TeeChart CPU load of 10 to 11%,
I in the development of the stock software requires a lot of quick updates
How to solve the CPU load problem?

and Chart.Endupdate no response

EX,

procedure TForm1.FormCreate(Sender: TObject);
begin
Timer1.Interval := 250;
end;

procedure TForm1.Timer1Timer(Sender: TObject);
var i: Integer;
begin
// Chart1.BeginUpdate;
// series1.BeginUpdate;
series1.Clear;
for i := 0 to 1000 do
Series1.Add(i);
// series1.EndUpdate;
// Chart1.EndUpdate;
end;

Brian.

Re: XE3 FMX TeeChart Performance

Posted: Tue Nov 20, 2012 9:10 am
by narcis
Hi Brian,

This works fine for me here using attached project. Can you please check if it solves the issue at your end? You may also be interested in following the recomendations at the Real-time Charting article here.

Re: XE3 FMX TeeChart Performance

Posted: Wed Nov 21, 2012 1:51 am
by 16562684
I've been using your example code, but the CPU is still 10 to 12%
Is XE3's performance issues?

Re: XE3 FMX TeeChart Performance

Posted: Wed Nov 21, 2012 11:17 am
by narcis
Hi brian,

According to the tests we have run here, Firemonkey applications are slower than VCL applications, that could be an important difference. For me, the project I attached, stays at about 2-3% CPU usage. Have you tried that in different machines? Does the application uses the same CPU rate in all of them? Have you found performance differences in non-TeeChart related applications?

Thanks in advance.