Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 vs. VFP5 speed tests
Message
From
23/07/1998 16:32:43
 
 
To
23/07/1998 16:00:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00120716
Message ID:
00120726
Views:
22
>Decided to put some of the VFP6 object speed claims to a simple test. Created a Form class with 50 assorted controls. Then wrote three PRGs --- The first instantiated 100 objects from the Form with CREATEOBJECT, the second instantiated 100 objects using NEWOBJECT, the third did a CREATEOBJECT and a .Show.
>
>I ran everything 5 times under each.
>
>The average times:
>
>CREATEOBJECT x 100: VFP5 (3.13 secs)...VFP6 (3.35 secs)
>NEWOBJECT x 100 : VFP5 (NA)..........VFP6 (3.29 secs)
>CREATE + SHOW x 10: VFP5 (0.38 secs)...VFP6 (0.46 secs)
>
>So, VFP6 never beat VFP5...yet, in my realworld recompiled apps, they *feel* faster under VFP6. So maybe I'm missing something?


Is this the same way your "real world" applications work? Do you create a form, then CREATEOBJECT for each new control? I think much of the speed increases came from improvements in data binding.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform