Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is ADO faster than VFP 6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00934351
Message ID:
00934613
Vues:
22
>Hi Houston,
>You were so right, but I still get 12 seconds for Visual C++ and 8.472 seconds for VFP.
>
>Do you have any thoughts on this?

I would determine 3 times in your VC++ code:

1. how long does HRESULT hr = spCON->Open ( "", "", "", -1 ) take.
2. how long does creating the RecordSet take, and
3. how long does the Update take.

Those default arguments for spCON->Open may have performance implications. And also, I do not see where you are closing your connection, some work may still be buffered and closing the connection should be done before you determine the elapsed time.
censored.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform