Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance with many objects
Message
From
08/04/2002 13:44:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Performance with many objects
Miscellaneous
Thread ID:
00642280
Message ID:
00642280
Views:
49
We are looking for ways to speed up object instantiation for a large number of objects

Our application involves a complicated form with many hundreds of fields. We want to be able to display this form completely with all of the fields simultaneously on screen.

It works fine on newer faster computers. On older computers (<500mhz, there seems to be a sudden jump in the loading time. For example 700 MHz ... 10 seconds, 450 MHz over a minute. This effect is pretty much the same regardless of the amount of memory in the computer.

For marketing purposes, we need the program to be useable on these older machines. We will lose a significant share of the market if our application only runs on new machines.

Profiling tells us that a large portion of time is spent on addobject statements. (Once the objects are created, the performance is acceptable)

The objects are mostly non-visual objects that are being created in code classes in a procedure file. We are wondering if defining these objects in a VCX might significantly increase performance.

We thought of the SaveAsClass feature but it can't be used here because of the non-visual classes. Is there any other way to quickly instantiate a large container object, which includes many other objects, without executing all the individual addobject statements?

I'd appreciate any tips you might have to help deal with this situation.
Next
Reply
Map
View

Click here to load this message in the networking platform