Application startup delay using Teechart
Posted: 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
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