Application startup delay using Teechart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
dauser
Newbie
Newbie
Posts: 6
Joined: Thu Jun 14, 2012 12:00 am

Application startup delay using Teechart

Post by dauser » Mon Oct 08, 2012 2:53 pm

Hello,

I'm facing a strange delay during application startup when using TeeChart component.
Trying to investigate the problem, I made some trials with an "empty" application: just a winform with and without a TChart instance creation logging some system timestamps.
I found out a different behaviour, not only using TeeChart or not, but also if I'm logged into a domain or not:
- when not logged on a domain I have, at each startup, a same delay (variable depending on system); in this trial 20secs, in some cases also 1 minute;
- when logged into a domain I have at first startup a delay comparable to previous one, and a negligible delay for following startups.

Anyway, I cannot explain a delay of this type (20 secs-1 min) just for a simple command
this.tChart1 = new Steema.TeeChart.TChart();

Monitoring CPU and memory I cannot find any particular charge during this delay time; application seems just stuck or waiting for something.
Any ideas, anyone?

Hereafter the results in the different cases:

1) USING TEECHART - FIRST STARTUP (NO DOMAIN)
Start: 2012-10-08 15:42:19.6169184
Check point 1: 2012-10-08 15:42:39.3977531
Check point 2: 2012-10-08 15:42:39.4133531
Check point 3: 2012-10-08 15:42:39.5069533

2) USING TEECHART - SECOND STARTUP (NO DOMAIN)
Start: 2012-10-08 15:42:48.4925691
Check point 1: 2012-10-08 15:43:08.2890039
Check point 2: 2012-10-08 15:43:08.3046039
Check point 3: 2012-10-08 15:43:08.3826040

3) USING TEECHART - FIRST STARTUP (INTO A DOMAIN)
Start: 2012-10-08 15:45:58.3477058
Check point 1: 2012-10-08 15:46:10.7029275
Check point 2: 2012-10-08 15:46:16.1317371
Check point 3: 2012-10-08 15:46:16.2253372

4) USING TEECHART - SECOND STARTUP (INTO A DOMAIN)
Start: 2012-10-08 15:46:20.6089449
Check point 1: 2012-10-08 15:46:20.6869451
Check point 2: 2012-10-08 15:46:20.7025451
Check point 3: 2012-10-08 15:46:20.7805452

5) NOT USING TEECHART
Start: 2012-10-08 15:43:39.1210587
Check point 1: 2012-10-08 15:43:39.1210587
Check point 2: 2012-10-08 15:43:39.1366587
Check point 3: 2012-10-08 15:43:39.1366587

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Application startup delay using Teechart

Post by Sandra » Tue Oct 09, 2012 1:57 pm

Hello Dauser,

We would be very grateful if you could do the same test, you have done, using the unsigned assemblies you find in the similar folder as next:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.09280\net40\x86\NoDigitalCertificate.
When you have made this test, could you tell us which results do you get?

Thanks,
Best Regards,
Sandra Pazos / 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

dauser
Newbie
Newbie
Posts: 6
Joined: Thu Jun 14, 2012 12:00 am

Re: Application startup delay using Teechart

Post by dauser » Tue Oct 09, 2012 3:21 pm

Hello Sandra,

I made the same tests using the unsigned assemblies (Release 4.1.2012.05100 - target framework .NET 3.5) and, as far as I saw, delay time is now negligible in all cases.

So, have I to use these assemblies in my projects?

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Application startup delay using Teechart

Post by Sandra » Wed Oct 10, 2012 10:59 am

Hello Dauser,
So, have I to use these assemblies in my projects?
Yes, the reason of your problem comes for the Digital Certificate as explain in next both threads:

http://www.teechart.net/support/viewtop ... gital+sign
http://www.teechart.net/support/viewtop ... gital+sign

I recommend you read all of posts of both threads to understand the problem and because you need unsigned assemblies to solve the issue. If you not understand something please let me know.

Thanks,
Best Regards,
Sandra Pazos / 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