Just to clearify the stream is not same but the same template is placed on sharepoint and local. Below line is taking more time if pass Stream created using SharePoint template and taking less time for local template
reportingEngine.BuildReport(templateDocumentStream, documentJsonData, “d”);
Please help on performance part as it’s critical for us to found the differerance
Please help if there is any other ways as well to improve the performance
We are just calculating the BuildReport time