This project has moved. For the latest updates, please go here.

Help to improve performance

May 12, 2012 at 1:35 PM


I'm trying to write records/data present in the database to the document using Docx(using latest binary)

It works fine for 200 records and its fast. I then tested for 500 records even that was good it took around approximate of 4 mins.

But when it tested for 1000 records it took more than 20 mins :(

Can  you anyone help me know what might be the cause for this behaviour? I was expecting it to complete the process in less than 10 mins




May 12, 2012 at 1:46 PM

Are you using customproperties or replacetext? Can you post some example code?

May 14, 2012 at 5:09 AM

We bind all the values fetched from database to our DataObjects and pass this object to a method and bind data using paragraph.append method.


Paragraph para = document.InsertParagraph();

para.Append(dob.SomeValue).FontSize(10).Font(new FontFamily("Arial"));