Jump to content
Software FX Community

ChartFx seems too slow to load


User (Legacy)

Recommended Posts

Posted

Hi,

I just want to ask, your new chart takes 15 seconds to initialize or load on

my computer that has 2ghz of cpu (64bit), 1gb or RAM, and 64bit Mobo. Other

3rd party controls that support .Net 2.0 takes only 3 seconds or less. Is

there any explanation about this?

Thank you,

Raymond Dazo

Interprise Solutions Team

RealTimeCharts.zip

Posted

This is not normal, A chart doesn't take that long to initialize, the 

initialization time should be insignificant.

Is this "load" time you are referring to at design-time or at run time ? Are

you talking about a default chart ? Is there code written in the Form load ?

The more details you can give us the better the chances we can suggest a

solution.

--

Francisco Padron

www.chartfx.com

Posted

Hi,

I attached a sample project. In here, I code in New() subroutine then

created a chart at runtime. In this simple project it takes 15 seconds for

the chart to initialize. I think this explains my concern.

Thank you,

Raymond Dazo

Interprise Solutions Team

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:o3beva8DGHA.280@webserver3.softwarefx.com...

> This is not normal, A chart doesn´t take that long to initialize, the

> initialization time should be insignificant.

>

> Is this "load" time you are referring to at design-time or at run time ?

> Are

> you talking about a default chart ? Is there code written in the Form load

> ?

>

> The more details you can give us the better the chances we can suggest a

> solution.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Posted

Hi,

I attached a sample project. In here, I code in New() subroutine then

created a chart at runtime. In this simple project it takes 15 seconds for

the chart to initialize. I think this explains my concern.

Thank you,

Raymond Dazo

Interprise Solutions Team

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:o3beva8DGHA.280@webserver3.softwarefx.com...

> This is not normal, A chart doesn´t take that long to initialize, the

> initialization time should be insignificant.

>

> Is this "load" time you are referring to at design-time or at run time ?

> Are

> you talking about a default chart ? Is there code written in the Form load

> ?

>

> The more details you can give us the better the chances we can suggest a

> solution.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

WindowsApplication1.zip

Posted

We don´t get any problems here.

**********************

Creating new chart

1/3/2006 11:04:16 AM

End creating chart

1/3/2006 11:04:17 AM

**********************

Total Milliseconds Elapsed: 562

I used your exact application with your dll´s. I just added a calculation to

figure out te exact milliseconds.

Can you test your app on another machine?

Are no other controls slow?

-c

"Raymond Dazo" <raymond.d@interprisesolutions.com> wrote in message

news:c4bAPkAEGHA.280@webserver3.softwarefx.com...

> Hi,

>

> I attached a sample project. In here, I code in New() subroutine then

> created a chart at runtime. In this simple project it takes 15 seconds for

> the chart to initialize. I think this explains my concern.

>

> Thank you,

>

> Raymond Dazo

> Interprise Solutions Team

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:o3beva8DGHA.280@webserver3.softwarefx.com...

>> This is not normal, A chart doesn´t take that long to initialize, the

>> initialization time should be insignificant.

>>

>> Is this "load" time you are referring to at design-time or at run time ?

>> Are

>> you talking about a default chart ? Is there code written in the Form

>> load ?

>>

>> The more details you can give us the better the chances we can suggest a

>> solution.

>>

>> --

>> Francisco Padron

>> www.chartfx.com

>>

>>

>

>

>

MyRealTimeChart.zip

Posted

Hi,

That was fast! Could you send me your revised application so we could also

check it in here? Before you run this project, is chartFx already loaded in

your memory? Is there any project already running (with a chartFx control)

before you run this program?

> Can you test your app on another machine?

On all our pc´s here, chartFx takes 15 or more secs to load on runtime using

this program. Worst is, one pc takes up to 46 secs! (This one has the same

specs as I have but minus 32mb of VGA).

I tried the same program while ChartFx is already loaded in the memory and

it only takes half a second.

> Are no other controls slow?

Sorry I didn´t get it. Other 3rd party .net 2.0 controls takes only 3 secs.

or less on first load.

Thank you,

Raymond Dazo

Interprise Solutions Team

"Software FX Support" <support@softwarefx.com> wrote in message

news:uftyU%23HEGHA.452@webserver3.softwarefx.com...

> We don´t get any problems here.

> **********************

> Creating new chart

> 1/3/2006 11:04:16 AM

> End creating chart

> 1/3/2006 11:04:17 AM

> **********************

> Total Milliseconds Elapsed: 562

>

> I used your exact application with your dll´s. I just added a calculation

> to figure out te exact milliseconds.

> Can you test your app on another machine?

> Are no other controls slow?

> -c

> "Raymond Dazo" <raymond.d@interprisesolutions.com> wrote in message

> news:c4bAPkAEGHA.280@webserver3.softwarefx.com...

>> Hi,

>>

>> I attached a sample project. In here, I code in New() subroutine then

>> created a chart at runtime. In this simple project it takes 15 seconds

>> for

>> the chart to initialize. I think this explains my concern.

>>

>> Thank you,

>>

>> Raymond Dazo

>> Interprise Solutions Team

>>

>> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

>> news:o3beva8DGHA.280@webserver3.softwarefx.com...

>>> This is not normal, A chart doesn´t take that long to initialize, the

>>> initialization time should be insignificant.

>>>

>>> Is this "load" time you are referring to at design-time or at run time ?

>>> Are

>>> you talking about a default chart ? Is there code written in the Form

>>> load ?

>>>

>>> The more details you can give us the better the chances we can suggest a

>>> solution.

>>>

>>> --

>>> Francisco Padron

>>> www.chartfx.com

>>>

>>>

>>

>>

>>

>

>

Posted

Hmm ...

It looks like the problem may be checking the license which is done only

once per process. I'm attaching an executable with a Chat in it, since the

license is embedded inside the EXE this EXE will be running with MY license,

if this runs fast we know that the problem is with the license and then I

can give you some tools so that you can send it to use to see what's wrong

with it. If this program is still slow, then I we need to figure out a way

that we can reproduce your configuration here to determine the cause of the

problem.

This EXE was compiled with YOUR Chart FX dlls, so you should be able to run

it from the same folder you run yours.

--

Francisco Padron

www.chartfx.com

Posted

Hi,

I used your Exe file but it is still slow, still takes 15 seconds to load. I

tried to run it in release mode and then create an installer then install it

to our computers but still the same. Here, we have the same specs of 2.2ghz

AMD 64 bit cpu, 64bit mobo, 1gb RAM, 64mb VGA, running on WinXP Pro. and of

course .Net2.0. Except one pc that has only 32mb of VGA.

About my last question. Before you run the same project, is chartFx already

loaded in your memory? This problem takes only during first load/initialize

when ChartFx is not yet loaded in the memory. But after that, ChartFx loads

less than a second.

Thank you,

Raymond Dazo

Interprise Solutions Team

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:B5SN39UEGHA.3808@webserver3.softwarefx.com...

> Hmm ...

>

> It looks like the problem may be checking the license which is done only

> once per process. I´m attaching an executable with a Chat in it, since the

> license is embedded inside the EXE this EXE will be running with MY

> license, if this runs fast we know that the problem is with the license

> and then I can give you some tools so that you can send it to use to see

> what´s wrong with it. If this program is still slow, then I we need to

> figure out a way that we can reproduce your configuration here to

> determine the cause of the problem.

>

> This EXE was compiled with YOUR Chart FX dlls, so you should be able to

> run it from the same folder you run yours.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

WindowsApplication1.zip

Posted

Hi,

I tried "installing" the same program (.exe) again on a seperate pc that has

the same HW specs but running on a Win2000 Server (this pc has only few

porgrams installed on it, including chartFx) and it was loading less a

second on first run (ChartFx is not yet loaded in the meomry)!!! We´re still

figuring out what´s the possible reason for this but as of now, I would like

to request the tools you are refering to:

"this EXE will be running with MY license,

if this runs fast we know that the problem is with the license and then I

can give you some tools so that you can send it to use to see what´s wrong

with it"

...so we could see what´s causing this problem. What dou you think the

possible reason for this?

I really appreciate your help.

Thank you,

Raymond Dazo

Interprise Solutions Team

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:DyNyrMhEGHA.564@webserver3.softwarefx.com...

> No. I´m running this right after re-booting Windows.

>

> --

> Francisco Padron

> www.chartfx.com

>

Posted

Raymond,

Ok this might be a long shot but I have an idea.

As you say that you have a machine that takes 15 seconds to load a your

WindowsApplication1 ...

If you can reproduce the delay at debug-time then lets see what happens when

you pause the application.

What do I mean? Run in the debugger and there are three buttons

The "Continue" (Triangle) , "Pause" (looks like the two verticle Paralell

lines), and "Stop" (square).

(I am not trying to be sarcastic but I progammed for years before actually

using the pause button)

So what I want you to do is click the pause button when you are reasonably

confident that the 15 wait/lag is taking place.

You may have to experiment here to get the right pause time.

Then go to the call stack window and do a right click and select "Show

External Code"

*IF* it really is ChartFX 7.0 causing the wait the stack should be something

we can decipher.

Once you see the entire stack please select all and attach it here. (Of

course if there is no cfx stack there it probably won´t help us much)

-c

P.S. - As I said this is a long shot and I have the egg on my desk ready for

my face.

"Raymond Dazo" <raymond.d@interprisesolutions.com> wrote in message

news:1h59x4mEGHA.564@webserver3.softwarefx.com...

> Hi,

>

> I tried "installing" the same program (.exe) again on a seperate pc that

> has the same HW specs but running on a Win2000 Server (this pc has only

> few porgrams installed on it, including chartFx) and it was loading less a

> second on first run (ChartFx is not yet loaded in the meomry)!!! We´re

> still figuring out what´s the possible reason for this but as of now, I

> would like to request the tools you are refering to:

>

> "this EXE will be running with MY license,

> if this runs fast we know that the problem is with the license and then I

> can give you some tools so that you can send it to use to see what´s wrong

> with it"

>

> ...so we could see what´s causing this problem. What dou you think the

> possible reason for this?

> I really appreciate your help.

>

> Thank you,

>

> Raymond Dazo

> Interprise Solutions Team

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:DyNyrMhEGHA.564@webserver3.softwarefx.com...

>> No. I´m running this right after re-booting Windows.

>>

>> --

>> Francisco Padron

>> www.chartfx.com

>>

>

>

Posted

Well, the fact that my EXE also ran slow in your computer discard the 

possibility that the problem is with your license, because, like I said,

this is EXE has my license embedded in it. The fact that you can also run it

in other computers and it runs fast also points in this direction.

So, what is the problem ?

Honestly I do not know, but I do suspect it has to do with the checking of

the license as this is the only thing I can think of that happens only when

the first chart is created.

We use the Crypto API to verify our license.

--

Francisco Padron

www.chartfx.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...