Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up an EXE
Message
De
10/07/2004 15:08:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00922944
Message ID:
00923020
Vues:
30
Gerard,

Are you trying to find out if the initial load of the .EXE would be faster on a local drive? Or whether it would run faster after that point?

The .exe itself will certainly load faster from local drive. If you use a launcher (Simple application launcher File #9668) you gain additional benefits.

I'd wager the entire .exe is loaded into memory, and that the form itself won't load any quicker with the .exe being on a local drive.

Regarding the form in question: It seems more likely that form loads slowly more because of what it has to do when it loads (opening tables, setting up controls, etc.) rather than the size of the form itself.

Have you moved it to a local hard drive and tested it? That should answer you question :)

>I'm looking at ways of speeding up our exe, and am wodering how the EXE is loaded.
>
>The .exe is about 15 Megs.One particular form takes about 5 seconds to load from a network drive. Woould the form load faster if I placed the .exe on a local drive ?
>
>How does the .exe load ?. When I run Myapp.exe, is the whole exe loaded into memory at that point. If it is , i reckon there will be no speed advantage in running say a particular form , as the whole exe will be in memory at this point, so it does not matter how it was loaded in the first place.
>
>If however, the individual 'Bits' of the EXE are loaded as required, I reckon there would be a speed improvement , as the 'Form' would be loaded from the local hard disk, rather than across the network.
>
>
>I realise there are also other considerations (like showing Tabbbed pages only as required) but at this stage I am just looing for a 'quick' solution.
>
>Any help appreciated
>
>Gerard
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform