Speed IOS
Speed IOS
Hello
Series is created like this
chart.addseries(TBarSeries)
chart.series[0].fillsamplevalues(9)
First:
I get the same error as in
http://www.teechart.net/support/viewtop ... 17&t=13316
I tried to do this
http://qc.embarcadero.com/wc/qcmain.aspx?d=103976
but I don't think my changes is used by the compiler.
Must I do something else than modify the file?
Can the modified file be located in the project folder?
Main Issue:
but the main issue is the speed on my ipad/iphone
everything is slow (5+ seconds)
loading, zooming, rotation
any idea whats wrong?
using XE2 update 4 with fix
Jørgen
Series is created like this
chart.addseries(TBarSeries)
chart.series[0].fillsamplevalues(9)
First:
I get the same error as in
http://www.teechart.net/support/viewtop ... 17&t=13316
I tried to do this
http://qc.embarcadero.com/wc/qcmain.aspx?d=103976
but I don't think my changes is used by the compiler.
Must I do something else than modify the file?
Can the modified file be located in the project folder?
Main Issue:
but the main issue is the speed on my ipad/iphone
everything is slow (5+ seconds)
loading, zooming, rotation
any idea whats wrong?
using XE2 update 4 with fix
Jørgen
Re: Speed IOS
Hi Jørgen,
http://www.teechart.net/support/viewtop ... 17&t=13120
Correcting these functions in the FMX_Types_FPC_Impl.inc file from "\Embarcadero\RAD Studio\9.0\source\fmi" should be enough:jls wrote:First:
I get the same error as in
viewtopic.php?f=17&t=13316
I tried to do this
http://qc.embarcadero.com/wc/qcmain.aspx?d=103976
but I don't think my changes is used by the compiler.
Must I do something else than modify the file?
Can the modified file be located in the project folder?
Code: Select all
function TRectF.GetBottomRight: TPointF;
begin
//Result := TPointF.Create(Bottom, Right); //Act
Result := TPointF.Create(Right, Bottom); //Exp
end;
Code: Select all
function TRectF.GetTopLeft: TPointF;
begin
//Result := TPointF.Create(Top, Left); //Act
Result := TPointF.Create(Left,Top); //Exp
end;
I'd suggest you to take a look at this thread, where we discussed about the speed on iOSjls wrote:Main Issue:
but the main issue is the speed on my ipad/iphone
everything is slow (5+ seconds)
loading, zooming, rotation
any idea whats wrong?
using XE2 update 4 with fix
http://www.teechart.net/support/viewtop ... 17&t=13120
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Speed IOS
Hello
My problem is simple to reproduce
procedure TForm1.FormCreate(Sender: TObject);
begin
FChart := TChart.Create(Self);
FChart.AddSeries(TBarSeries);
// FChart.Align := TAlignLayout.alClient;
FChart.Width := 400;
FChart.Height := 400;
FChart.Series[0].FillSampleValues(9);
FChart.Parent := self;
end;
The problem is then I try to rotate the device.
It works OK on IPad simulator
but on the IPad it is very slow 5 sec.
It rotates fast, but the scaling after rotation uses 5 sec.
(still have problems with the bug fix, added this to a new posting)
Jørgen
My problem is simple to reproduce
procedure TForm1.FormCreate(Sender: TObject);
begin
FChart := TChart.Create(Self);
FChart.AddSeries(TBarSeries);
// FChart.Align := TAlignLayout.alClient;
FChart.Width := 400;
FChart.Height := 400;
FChart.Series[0].FillSampleValues(9);
FChart.Parent := self;
end;
The problem is then I try to rotate the device.
It works OK on IPad simulator
but on the IPad it is very slow 5 sec.
It rotates fast, but the scaling after rotation uses 5 sec.
(still have problems with the bug fix, added this to a new posting)
Jørgen
Re: Speed IOS
Hi Jørgen,
As you can read here, we are aware that the speed on the real devices is slower.
Have you tried the tips on the last message?
As you can read here, we are aware that the speed on the real devices is slower.
Have you tried the tips on the last message?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Speed IOS
I have not tried it, will do this
How much better should it be?
Do you think you will solve the performance issue?
If so, do you have an estimated date?
Jørgen
How much better should it be?
Do you think you will solve the performance issue?
If so, do you have an estimated date?
Jørgen
Re: Speed IOS
Hi Jørgen,
I can't tell you a date either.
We'll be pleased to hear about your experience.jls wrote:I have not tried it, will do this
As Narcís said,jls wrote:How much better should it be?
I'm afraid we haven't quantified it.Narcís wrote:It helped slightly increasing performance here.
I hope so! As you've noticed, taking some seconds for each repaint it's too much. But as you'll understand, I can't tell you how the improvements will change the performance before finding them.jls wrote:Do you think you will solve the performance issue?
If so, do you have an estimated date?
I can't tell you a date either.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Speed IOS
It did not help
It takes 20 seconds to rotate the chart on my IPad3.
Are you able to reproduce this?
Jørgen
program chart2;
uses
FMX_Forms,
Unit1 in 'Unit1.pas' {Form1},
FMX_Types;
{$R *.res}
begin
GlobalUseHWEffects:=False;
GlobalDisableFocusEffect:=True;
GlobalUseDirect2D:=False;
GlobalUseDirect2DSoftware:=True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
procedure TForm1.FormCreate(Sender: TObject);
begin
FChart := TChart.Create(Self);
FChart.AddSeries(TBarSeries);
FChart.Align := TAlignLayout.alClient;
FChart.Width := 400;
FChart.Height := 400;
FChart.Series[0].FillSampleValues(9);
FChart.Parent := self;
end;
It takes 20 seconds to rotate the chart on my IPad3.
Are you able to reproduce this?
Jørgen
program chart2;
uses
FMX_Forms,
Unit1 in 'Unit1.pas' {Form1},
FMX_Types;
{$R *.res}
begin
GlobalUseHWEffects:=False;
GlobalDisableFocusEffect:=True;
GlobalUseDirect2D:=False;
GlobalUseDirect2DSoftware:=True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
procedure TForm1.FormCreate(Sender: TObject);
begin
FChart := TChart.Create(Self);
FChart.AddSeries(TBarSeries);
FChart.Align := TAlignLayout.alClient;
FChart.Width := 400;
FChart.Height := 400;
FChart.Series[0].FillSampleValues(9);
FChart.Parent := self;
end;
Re: Speed IOS
Hello jls,
I think it is not a problem directly of TeeChart, so is a problem mostly of the behavior of Firemonkey in the iOS. We find many links that talk about this slowness of Firemonkey projects in iOs:
https://forums.embarcadero.com/message. ... 2&tstart=0
https://newsgroups.embarcadero.com/mess ... 3&tstart=0
Also, the Ipad is slower than Mac, so it get worse the situation.
I am sorry, but we cannot do any thing until developers of Firmonkey don't improve its performance in iOs.
Thanks,
I think it is not a problem directly of TeeChart, so is a problem mostly of the behavior of Firemonkey in the iOS. We find many links that talk about this slowness of Firemonkey projects in iOs:
https://forums.embarcadero.com/message. ... 2&tstart=0
https://newsgroups.embarcadero.com/mess ... 3&tstart=0
Also, the Ipad is slower than Mac, so it get worse the situation.
I am sorry, but we cannot do any thing until developers of Firmonkey don't improve its performance in iOs.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Speed IOS
Hello Sandra,
did you put an example application as bug report into QC?
It would be nice to have it there and trace if something is done on this important "feature".
best regards,
X-Ray
did you put an example application as bug report into QC?
It would be nice to have it there and trace if something is done on this important "feature".
best regards,
X-Ray
Re: Speed IOS
Hello X-Ray and jls,
Firmonkey is very new, but seems announcements of Embarcadero about XE3 improve this type of problems. We should be waited Embarcadero publish beta version of XE3, to check it.
Thanks,
Firmonkey is very new, but seems announcements of Embarcadero about XE3 improve this type of problems. We should be waited Embarcadero publish beta version of XE3, to check it.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |