Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM object creation is very slow
Message
 
 
À
29/03/2004 12:54:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00890236
Message ID:
00890526
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform