Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
I am working on Optimizing performace for one my batch process at work. This batch process reads data from couple of tables, Person --> employment Assemble the domain objects, create PDF and PCL files.
 Person
{
//person fields
List<IEmployment> EmploymentList
}
IEmployment
{
//employment fields
}
 I need to create a PCL and PDF file for each person. Currently I am looping through each peson, creating instance of ActiveReport setting person as data source to ActiveReport, Creating PCL, creating PDF and exit. I am loading 500 person records at a time, create pcl's and pdf's and read next 500 unprocessed person records. This is taking around 5 mins to complete 500 records, at times we might have 30,000 records to process which is equating to 5 hrs. I am trying to optimize if. Please let me know if there is a better way of generating this bulk pdf's and pcl's.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900