XE3 FMX TeeChart Performance

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
brian
Newbie
Newbie
Posts: 6
Joined: Mon Jun 11, 2012 12:00 am

XE3 FMX TeeChart Performance

Post by brian » Tue Nov 20, 2012 2:53 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XE3 FMX TeeChart Performance

Post by Narcís » Tue Nov 20, 2012 9:10 am

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.
Attachments
FastLineFMX.zip
(1.26 KiB) Downloaded 971 times
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

brian
Newbie
Newbie
Posts: 6
Joined: Mon Jun 11, 2012 12:00 am

Re: XE3 FMX TeeChart Performance

Post by brian » Wed Nov 21, 2012 1:51 am

I've been using your example code, but the CPU is still 10 to 12%
Is XE3's performance issues?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XE3 FMX TeeChart Performance

Post by Narcís » Wed Nov 21, 2012 11:17 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply