Loading of Teechart dll - startup time very high, Performanc

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Wed May 12, 2010 8:07 am

Hi,
We were using the 32 bit tee chart dll since 2002, version 1.01xx and loading this dll takes less than a sec. However we recently purchased a new version of Teechart 4.x version for 64 bit. This was required since we were moving our codebase from 32 bit to 64 bit. Now the new dll takes 6-7 secs for loading on startup. Since we have a critcial requirement on startup time of teh application this is causing a major problem in many of teh applications that is using Teechart. We also see that teh new dll has enhanced features andis about 3.5 Mb as compared to the old dll which was 1 Mb. We don't need all the new features provided by tee chart. So could you please help us in resolving thsi issue ASAP. We also tried with the 32 bit 4.x version and this also takes the same amount of time,

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Thu May 13, 2010 3:57 pm

Hi PIC,

Some extra information would be helpful so we can identify where the problem could come from.
What Windows are you using (XP, 2003, Vista or 7)?
In what kind of application are you experiencing the problem (web, desktop, etc)?
If web applications, please specify the system characteristics of both server and client sides, and also tell us if the connection is through internet or local (note that we've seen some problems with Digital Certificates some time ago).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Fri May 21, 2010 7:26 am

We use Windows XP 64 bit.
Our application is a .Net desktop application.

From version 1.01xx to 4.x, tee-chart dll has increased in its size. Also it seems to have made the startup time very high. Looks like the new version loads a lot of resources.

Since we dont need any new features tee-chart would have added between 1.01x to 4.x, we are happy if you could provide us the 64 bit dll for the 1.01x. Currently we are using 32 bit dll of 1.01x and it works very well for us both in terms of feature set as well as performance.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Wed Jun 02, 2010 11:24 am

Hi PIC,

Excuse us for the delayed reply.
We've prepared a TeeChart v4 unsigned x64 dll. I've sent it to the mail account you have registered in this forums. Could you please try if it works fine at your end?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Fri Jun 04, 2010 7:52 am

The email address given at the time of registration is not accessible by the development community. Could you please send the dlls to ajay.murthy@philips.com

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Sun Jun 06, 2010 2:57 pm

Hi PIC,

I've forwarded the mail to the desired account.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Mon Jun 07, 2010 11:42 am

Hi Yeray,

Thanks for the dll.
The dll seems to have improved the performance but at the cost of a lost functionality.

Attached is the snapshot of the tee-chart display before and after the patched tee-chart dll. There seems to be a problem with the display of legends.
The names and the display of legends have changed.
Could you please look into this issue?
old.JPG
Before change
old.JPG (95.26 KiB) Viewed 12603 times
new.JPG
After Change
new.JPG (94.56 KiB) Viewed 12594 times
Also, we are not sure of the changes done by you in this modified dll? Is it only unsigned vs signed or are there any other modifications?
Ideally we would prefer signed dll because changing from signed to unsigned would result in re-build of our component using the tee-chart.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Tue Jun 08, 2010 3:36 pm

Hi PIC,
PIC wrote:Attached is the snapshot of the tee-chart display before and after the patched tee-chart dll. There seems to be a problem with the display of legends.
The names and the display of legends have changed.
Could you please look into this issue?
It seems that the pointer HorizSize, VertSize and Style isn't applied to the Legend symbol. And it seems to have been broken from v4.0.2010.1350 to the actual sources. I've added it to the defect list to be revised asap (TF02014948).

Regarding the changes in the legend texts, could you please tell us how are you formatting the legend so we can reproduce the issue here?
Thanks in advance.
PIC wrote:Also, we are not sure of the changes done by you in this modified dll? Is it only unsigned vs signed or are there any other modifications?
Ideally we would prefer signed dll because changing from signed to unsigned would result in re-build of our component using the tee-chart.
Actually, I prepared a dll with the sources from the moment (2nd June) so, it is simply an unsigned version of TeeChart NET v4 build in x64 that may *only* differ from the version you've tried (v4.0.2010.1350 x86) in:
- The changes from 15th April (v4.0.2010.1350) to 2nd June.
- x86 in front of x64
- signed vs unsigned.

If you want to eliminate a variable, we could prepare a v4.0.2010.1350 unsigned x64 dll.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Wed Jun 09, 2010 6:25 am

Hi Yeray,
If you want to eliminate a variable, we could prepare a v4.0.2010.1350 unsigned x64 dll.
Yes, we would prefer that. By doing that, we hope that we can save on testing time with changed functionality.
Please also generate 32 bit dll also for the same version.

However, we have the following questions/concerns:
1. Are you suggesting that just moving to unsigned dll reduces the load time?
2. Is it not possible to give the 64 bit version of 1.0 dll so that we have a very light weight version of 64 bit dll?
3. We would have to check if its ok to use unsigned dll in our applications.

Please comment,

regards,
Ajay

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Wed Jun 09, 2010 2:43 pm

Hi PIC,

I've built the public version (v4.0.2010.1350), unsigned and x64. Could you please try it and tell us if it works fine for you?
We are trying to identify if the problem you've detected in your application (the 6-7 seconds lost at startup) is caused for the signature or not. If you still reproduce the problem with this x64 unsigned version, creating an v1 x64 version for you won't help us to identify the reason of the problem.

On the other hand, the problem with the legend symbols has already been identified and fixed (TF02014948).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Thu Jun 10, 2010 9:15 am

Hi Yeray,

The problem is again reproducible with the public version (v4.0.2010.1350), unsigned and x64. So signature doesnt seem to be the cause of the delay during startup.

So, in order to further understand if this issue is a generic 64 bit issue on our platform, we can try using the V1 x64 version.
Could you please send us the V1 x64 version and we will let you know if we are facing performance issues in that version as well.

regards,
Ajay

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Thu Jun 10, 2010 11:11 am

Hi Ajay,

If I understood well, the 6~7 delay problem that you can observe in the v4.0.2010.1350 (x86, x64 and x64 unsigned), wasn't reproducible with the version from 2nd June (x64 unsigned), and the problem in the legend you've seen in this version is also fixed. So I don't see any reason why the next maintenance release couldn't be a satisfactory build for you.

On the other hand, we'll be pleased to do some tests on these aspects if you could send us a simple example project we can run as-is here.

Finally note that TeeChart v1 for NET is not supported any more as several years have passed since its successor was released.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Fri Jun 11, 2010 5:19 am

Hi Yeray,

The 2nd June version doesn't seem to have the delay problem.
Also, since unsigned version of v4.0.2010.1350 didnt solve the performance problem, is it possible to share the signed 32 and 64 bit dlls of 2nd June +(along with legend fixes) to check if the delay problem is solved by the code changes or by unsigning?

We currently dont have any simple example project using only tee-chart. All our projects heavily depend on our dlls(tee-chart wrapper and other framework dlls) and hence I am not sure if I can share the projects.

Some questions/concerns:
1. When is the next maintenance release planned?
2. Is there a fallback we can use till the release is made?
3. We are near our End of Development dates for our project and hence we would need an official tee-chart dlls as early as possible.

thanks and regards,
Ajay

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Loading of Teechart dll - startup time very high, Performanc

Post by Yeray » Fri Jun 11, 2010 3:07 pm

Hi Ajay,
PIC wrote:The 2nd June version doesn't seem to have the delay problem.
Also, since unsigned version of v4.0.2010.1350 didnt solve the performance problem, is it possible to share the signed 32 and 64 bit dlls of 2nd June +(along with legend fixes) to check if the delay problem is solved by the code changes or by unsigning?
As you say, the newer version you've tried (2nd June) has no delay problems. So I don't see why we should suspect that the next official maintenance release would brake it.
Please, be patient.
PIC wrote:1. When is the next maintenance release planned?
The next maintenance release will be published soon. I can't tell you the exact day but we hope in two weeks.
PIC wrote:2. Is there a fallback we can use till the release is made?
Knowing that the only problem with the 2nd June version is the legend symbol, you could hide them of you could draw custom symbols like in the demo at All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event
PIC wrote:3. We are near our End of Development dates for our project and hence we would need an official tee-chart dlls as early as possible.
Please, consider the options above.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PIC
Newbie
Newbie
Posts: 15
Joined: Tue Apr 06, 2010 12:00 am

Re: Loading of Teechart dll - startup time very high, Performanc

Post by PIC » Mon Jun 14, 2010 5:47 am

Hi Yeray,

Could you please share with us the latest 32 and 64 bit dlls containing also the fixes for the legend problems? Untested work in progress dlls will do.

I am keen on having the dlls because it will help us to check if all the features required by us are working fine. Also currently our software uses 1.0 version of 32 bit dll and 4.X version of 64 bit dll and hence our code needs to be modified if we have to use 4.x version of both 32 bit and 64 bit dlls.

Having the latest dlls will help us do the sanity check if our features are all working and give you feedback if we face any issues. Also it will help us change our code to use the latest dlls to achieve the desired functionality.

Hope you understand our concern,

regards,
Ajay

Post Reply