Hi Team,
I am facing a performance issue while saving a workbook using workbook.SaveDocument
on Linux. The same operation runs significantly faster on Windows.
I am using .NET 8 and DevExpress v23.1 to create and save a workbook. Below is the execution time comparison:
Upon debugging, I found that the major slowdown occurs in the workbook.SaveDocument
method on Linux, where it takes 70-80 seconds out of 80-90 seconds total execution time.
FileStream
instead of MemoryStream
– No performance improvement observed.workbook.SaveDocument
is the bottleneck – It takes 70-80 seconds out of 80-90 seconds on Linux.I have created a minimal reproducible example to demonstrate this issue. You can test it by hitting the '/generate-workbook/template'
route in the sample app. Also I have attached my Program.cs file for reference.
Sample App Repository: GitHub Link
Any insights or recommendations would be greatly appreciated. Thanks!