Noticeable Performance Regression Between 2.5 -> 2.8
After I upgraded (specifically to capture the new supported file extensions), I noticed that the same conversions are now taking much longer. One of my integration tests, a 13MB power point file, went from 8sec to timing out (past 30 seconds).
Sample code:
var builder = await new MergeOfficeBuilder()
.WithAssets(w => w.AddItem(fileName, fileBytes))
.SetPdfFormat(PdfFormats.A1b)
.BuildAsync();
With the upgrade, I only changed PdfFormats to LibrePdfFormats. It makes sense if the upgrade gives us new options or something along those lines, but the default experience without configuring anything else.
Thanks!
I narrowed this down to the PdfFormat line, where removing that line or setting it to LibrePdfFormats.None returns performance to normal.
My guess is that it wasn't working before properly, and now that it's fixed, I'm paying the cost of it 🫠
Might be I convince some folks it's not needed and leave it off.
Oh gotcha -- yeah I've noticed Libre conversion is very very slow too.
Closing this for now. Reopen if you discover any additional information that can help with this problem.