We are experimeting a very slow perfomance when render report to xlsx format from version 17.2.23.1114 using .Net 7, render to pdf is perfect.
With Telerik 15.2.21.915 version report was fast using .net 5
Test environment (.net 7 under linux container)
- api .net 7
- running in Linux Container. Pod Kubernetes
- nuget Telerik.Reporting (18.0.24.130)
- nuget Telerik.Reporting .OpenXmlRendering3 (18.0.24.130) with DocumentFormat.OpenXML 3.01 -DocumentFormat.OpenXml.Framework 3.0.1
- nuget Telerik.Reporting .WebServiceDataSource (18.0.24.130)
- nuget Telerik.Drawing.Skia (18.0.24.130)
- dockerfile includes next lines:
RUN apt-get update
RUN apt-get install -y libfreetype6
RUN apt-get install -y libfontconfig1
We have this code to generate the report
var reportSource = new InstanceReportSource { ReportDocument = _report }; var reportProcessor = new ReportProcessor(); var renderingResult = reportProcessor.RenderReport(format.ToString().ToUpper(), reportSource, null); var telerikReport = new DocumentResult(renderingResult); return telerikReport;
When we use format="XLSX" RenderReport is very low, when use PDF in the same report time is perfect.
In last versions of Telerik, 15.2.21.915, perfomance with XLSX was perfect the same API but in .net 5
What can we do?
Hello Israel,
The difference between the new version and the 15.2.21.915 is that the one uses a new graphics engine for rendering reports on Linux - SkiaSharp.
We introduced the Skia engine with the Progress® Telerik® Reporting R3 2023 (17.2.23.1010) release and have been working on improving its performance since then.
With that being said, we are not aware of any slowness specific to the XLSX rendering extension wit the latest release. Do you experience slowness when you render the report to DOCX and PPTX too or is it only the Excel OpenXML format that is slow?
Could you please send a copy of your report and sample data to preview it so we can perform tests on it locally?
Do you have any solution for this problem?