>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