Group: Awaiting Activation
Posts: 592,
Visits: 3.7K
|
I profiled my sample application using ANTS 5.0 and found that the performance bottleneck is in the SF SharedDataTableCollection.AddBusinessObjectTable method. The application spends most of it's time trying to determine if the _BOsUsingTable collection already contains the business object. This isn't too noticeable with a small number of records but the time increases dramatically as the number of records increases. I was able to refactor AddBusinessObjectTable to reduce the time it takes to render approximately 20,000 records on my development PC by 35%. (See attached code listing). While 35% is an improvement I feel there is a real need for a lighter weight read-only business object that can act as a datasource for reporting tools. I've hand coded a "report binding object" that returns a light weight read-only object for each row in the standard SF BO that doesn't use a shared data table, but it introduces a lot of extra "Property" coding and maintenance that could be handled by the BO mapper if SF had a read-only object. Are there any plans for such an object in a future version of SF or is there some other way to improve performance with reporting tools such as RSS?
|