Performance question – 3 seconds for ReportDocument constructor?
when I run this code (intended to:
- CrystalDecisions.CrystalReports.Engine.ReportDocument document = new ReportDocument();
- ReportClientDocument newDoc = document.ReportClientDocument;
I notice that the first line, constructing a blank ReportDocument, takes roughly 3-4 seconds to run. Is this normal? Any time I create a ReportDocument is it supposed to take this long? Or is there a different, quicker way of going about this, getting a ReportClientDocument object from a report file?