Forum Post: RE: OO performance - inheritance

Status
Not open for further replies.
U

ujj1

Guest
Just as a side note: Whenever you do benchmarking like this, if you use the -q parameter in your production environment, make sure to use that in your benchmark environment for your progress session. -q is a performance tuning parameter which tells progress not to reread the .r file if it is still in memory from a prior read. If you are benchmarking where you are creating the object in a loop to get an average instantiation time, -q should show a big improvement. In some benchmarks I did a while back the difference between running with -q and not -q was something like 300 to 1. In my case on my machine several years ago, object instantiation (an empty class, no inheritance) was about 3 ms where as with -q it was 0.01 ms.

Continue reading...
 
Status
Not open for further replies.
Top