Bug 116400 - Very time lengthy PDF-generation
Summary: Very time lengthy PDF-generation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf, perf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-03-14 13:15 UTC by Daniel Grigoras
Modified: 2019-03-16 20:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Grigoras 2018-03-14 13:15:15 UTC
Description:
I tested PDF-generation of a 3700-page long masterdocument (77 subdocuments loaded) with LibreOfficeDev 6.0.0.0.alpha0 and it turned out that the PDF was produced in just about 20 minutes, as opposed to 1hr 30min with LibreOffice 6.0.2.1.
Please address this issue.

Steps to Reproduce:
-

Actual Results:  
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 OPR/51.0.2830.55
Comment 1 Buovjaga 2018-03-14 15:54:29 UTC
Can you share a test case? Or maybe you have some older report with a similar masterdocument already that you can point to?
Note that we have raised the attachment max. size to 30 megabytes now.
Comment 2 Daniel Grigoras 2018-03-14 16:34:36 UTC
You can download a copy of an older anonymized master/subdoc package that I had posted here: https://bugs.documentfoundation.org/show_bug.cgi?id=107719#c5
Package link: https://www.dropbox.com/s/nsa8ym1kmxt3ltg/00_MASTERDOC.zip?dl=0
Comment 3 Buovjaga 2018-03-14 18:44:55 UTC
(In reply to Buovjaga from comment #1)
> Can you share a test case? Or maybe you have some older report with a
> similar masterdocument already that you can point to?
> Note that we have raised the attachment max. size to 30 megabytes now.

Thanks. For speeding up the test, I only inserted subdocs 01 and 02.
In 6.0.2 the exporting took 1 min 10 seconds.
In 6.1 (master build), it only took 7 seconds!

So good news for you, I think.

You could test (with a minimal setup like myself) with a master build and see how it goes: https://dev-builds.libreoffice.org/daily/master/Win-x86_64@42/current/

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 6a9326803c01f4c9bc7da855053ce4e80646fad8
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 14th 2018

Arch Linux 64-bit
Version: 6.0.2.1.0+
Build ID: 6.0.2-1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 4 Daniel Grigoras 2018-03-16 10:28:45 UTC
(In reply to Buovjaga from comment #3)

Indeed, PDF-generation is very fast in LibreOfficeDev 6.1.
Looking forward to having this improvement integrated in the official release.
Comment 5 Buovjaga 2018-03-16 12:40:52 UTC
I tried with the upcoming 6.0.3 on Windows and it was fairly quick. I was actually going to bisect the issue as you said it was fast in 6.0.0.0 alpha0.
Let's close.
Comment 6 Daniel Grigoras 2018-03-16 13:46:10 UTC
(In reply to Buovjaga from comment #5)

6.1 alpha generates the PDF faster than 6.0 alpha.
Comment 7 Daniel Grigoras 2018-08-30 10:17:41 UTC
This issue has resurfaced in LibreOffce 6.1.0.3
Comment 8 Telesto 2018-08-30 10:30:32 UTC
(In reply to Daniel Grigoras from comment #7)
> This issue has resurfaced in LibreOffce 6.1.0.3

Didn't check, but would suspect the same cause as for for bug 119340 or bug 119173 ( HFONT fallback handing / lifecycle)