Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Monitoring performance !
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00043551
Message ID:
00043563
Vues:
30
>A recent thread talked about differences of some way to acces data in regards of performance : SCAN, FOR, DO WHILE, ORDERED OR NOT, RUSHMORE...
>I think this is a very interesting issue.
>Here's a simple question : What is the best way to measure time spent on a statement? Is it simply by using TIME() before and after it.
>
>Thanks.

With TIME() there's extra work to do. You have to convert the character string to a numeric value. I'd recommend using SECONDS(), unless you were doing the test around midnight. Then you'd have to account for the value being reset to zero.

George
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform