Hi,

I've written a throw-away app whose job in life is to create a database for
another app.  This database can contain up to 1200 or so records.  Upon
profiling, I found that the function PrvChunkNew was far and away the
biggest consumer of time, at 28% - no other function consumed more than 4%.

This function appears to be called by DmNewRecord, since that function
consumes only 1.5% by itself, but it and all the functions it calls use 45%
- again, no other function is close.

It seems then, that the only way to improve performance is to reduce the
number of calls to PrvChunkNew and/or DmNewRecord.  Since all 1200 records
are required, reducing the number of DmNewRecord calls is not possible.  Is
there a way to tell the system to create all the chunks for N records in one
call?  Even if there is, will that help, i.e., will that result in fewer
calls to PrvChunkNew?

Thanks,

Mark Peters


Reply via email to