https://bugs.documentfoundation.org/show_bug.cgi?id=170608
Bug ID: 170608
Summary: Headless pdf convertion slows down significantly
between versions 25.8.2 and 25.8.4 or 26.2.0
Product: LibreOffice
Version: 25.8.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Running
libreoffice25.8 --headless --invisible --nodefault --view --nolockcheck
--nologo --norestore
-env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile
--convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder
25.8.2.2, compared to the latest release 25.8.4 is more than 6 times faster.
Running
libreoffice26.0 --headless --invisible --nodefault --view --nolockcheck
--nologo --norestore
-env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile
--convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder
26.2.0 takes about 30 seconds.
The used file has 21 pages, and on everypage there is a new table spanning the
entire height of the page.
Any hints or pointers on why that might be? If needed, I could provide
additional information. The libre instance is part of a Dockerized Lambda using
the public.ecr.aws/lambda/python:3.13 base image.
Build both aarch64 and x86_64 images; the conversion times are pretty much
similar.
I would prefer to use any of the latest stable versions, but this is a huge
performance degradation.
Steps to Reproduce:
1. Run libreoffice25.8 --headless --invisible --nodefault --view --nolockcheck
--nologo --norestore
-env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile
--convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder with 25.8.2.2
2.Run libreoffice25.8 --headless --invisible --nodefault --view --nolockcheck
--nologo --norestore
-env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile
--convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder with 25.8.4.2
3.Run libreoffice26.8 --headless --invisible --nodefault --view --nolockcheck
--nologo --norestore
-env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile
--convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder with 26.2.0
4. Compare convertion times
Actual Results:
Conversion with 25.8.2.2 takes about 6 seconds
Conversion with 25.8.4.2 takes about 39 seconds
Conversion with 26.2.0 takes about 30 seconds
Expected Results:
I would expect the same or better conversion times
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Running Libre in headless mode with different versions.
https://downloadarchive.documentfoundation.org/libreoffice/old/25.8.2.2/rpm/
https://download.documentfoundation.org/libreoffice/stable/25.8.4/rpm/
https://download.documentfoundation.org/libreoffice/stable/26.2.0/rpm/
--
You are receiving this mail because:
You are the assignee for the bug.