Bug 127055 - Slow performance on convert-to pdf after libreoffice 6.3.x
Summary: Slow performance on convert-to pdf after libreoffice 6.3.x
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2019-08-20 14:33 UTC by Ottawa
Modified: 2020-04-07 03:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Ottawa 2019-08-20 14:33:06 UTC
I use convert pdf webservice on production.
Since update libreoffice 6.2 or 6.3 version I get slow performance when generate pdf documents.

Steps to Reproduce:
$ /snap/bin/libreoffice --version
LibreOffice 714e3e990d6aa57321bebab01999254e7bc38485

time /snap/bin/libreoffice --headless  --convert-to pdf:writer_pdf_Export --outdir /tmp/ mem_00000649.odt

Actual Results:
$ /snap/bin/libreoffice --version
LibreOffice 714e3e990d6aa57321bebab01999254e7bc38485

convert mem_00000649.odt -> /tmp/mem_00000649.pdf using filter : writer_pdf_Export
Overwriting: /tmp/mem_00000649.pdf

real	0m9,164s
user	0m8,981s
sys	0m0,199s

Expected Results:
$ libreoffice --version
LibreOffice 00m0(Build:3)

$ time libreoffice --headless  --convert-to pdf:writer_pdf_Export --outdir /tmp mem_00000649.odt

convert mem_00000649.odt -> /tmp/mem_00000649.pdf using filter : writer_pdf_Export
Overwriting: /tmp//mem_00000649.pdf

real	0m1,987s
user	0m1,867s
sys	0m0,133s

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 David 2019-09-06 15:29:57 UTC
I can confirm this with 6.3.0.  It is EXTREMELY slow when exporting certain documents to PDF and almost totally freezes the GUI environment.  It did not behave in this manner before 6.3.0 with these same documents.  I have not determined yet what about the documents is causing it to be so slow, but they do have a number of sections, graphics, tables, and frames.
Comment 2 David 2019-09-06 15:37:42 UTC
Problem still exists for version 6.3.1.
Comment 3 David 2019-09-07 20:25:12 UTC
I was exporting to PDF using the Archive option set to PDF/A-1b.  When set to PDF/A-2b it works fine.  So no fix needed for me.
Comment 4 Jean-Baptiste Faure 2019-09-08 14:31:16 UTC
@Ottawa: Please could you try a non-snap installation ?

Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.

Best regards. JBF
Comment 5 QA Administrators 2020-03-07 03:19:27 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-04-07 03:29:30 UTC
Dear Ottawa,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team