Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow ADIR on NT
Message
De
15/04/2002 13:58:30
 
 
À
15/04/2002 08:18:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00644965
Message ID:
00645091
Vues:
15
I've noticed an increase in performance in NT using adir when you disable the write cache (which I disabled for different reasons than this one).
Tracy

>Could anyone explain why the following code runs in .1 sec on a Win98 machine and 1.2 secs on an NT 4 machine?
>
>lnStart = seconds()
>lnDirOK = adir(laTemp, "\\charlton1\depts\general\MF Log\", "D") > 0
>wait wind str( seconds() - lnStart, 6, 2 )
>
>All I wanted to do is check to make sure that the directory existed. Both machines are the same spec and sit next door to each other. All NT machines around the building that I have tested this on display a much longer response time than the 95 & 98 machines.
>
>For info - it's VFP5 and the directory has 297 files in it.
>
>Many thanks
>
>Jason
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform