Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM object creation is very slow
Message
 
 
To
29/03/2004 12:54:17
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00890236
Message ID:
00890526
Views:
25
Andrus,

>the init method is empty. So no code is executed during creation.
>The only difference it that large COM contains additional routines which are not called. I build it starting from other main file. The OLEPUBLIC class included in this application is exactly the same.

Does this object instantiate anything as it's coming up? Any contained objects? Opening tables etc? There is no code in any Init() methods anywhere along the inheritance hierarchy?

>Do you really think that COM object instation speed should depend on its size exponentially ?
>
>5 MB = 3 seconds
>7 MB = 12 seconds
>
>so
>
>17 MB = forever !?
>
>Really ?

It's impossible to say it is exponential based on two data points.

>Is so, do you also think that VFP application exe statup time should depend on the size of application exe file ?

Yes it does. Allocating and loading the exe into memory always takes more time the bigger the exe is.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform