Bug 71065 - Slow RTF->PDF conversion
Summary: Slow RTF->PDF conversion
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: pdf conversion
Keywords: filter:rtf
Depends on:
Blocks:
 
Reported: 2013-10-30 21:38 UTC by Kai
Modified: 2017-08-01 12:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
RTF test case (70.04 KB, application/rtf)
2013-10-30 21:38 UTC, Kai
Details
18 pages testcase (966.14 KB, text/rtf)
2013-11-23 04:15 UTC, tommy27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai 2013-10-30 21:38:27 UTC
Created attachment 88380 [details]
RTF test case

With a simple RTF document (attached) it takes around 3-6 seconds to generate a corresponding PDF.

This is a single-page document; if I create a multi-page document, which is structurally similar to this one, the time increases linearly up to about 500 pages; I haven't tested beyond that point.

This makes the conversion of any non-trivial documents logistically impractical with LibreOffice.
Comment 1 ign_christian 2013-11-01 08:35:27 UTC
I can do it instantly in 1 sec with your attached file (LO 4.0.6.2, Win7 32bit).

Please inform your OS. Also try again with LO 4.1.3.2 & resetting user profile.
Comment 2 Kai 2013-11-01 18:27:20 UTC
Did you actually time it on the command line? If so, can you say exactly how long it took?

Also, even 1 second per page is ridiculously slow.
Comment 3 tommy27 2013-11-11 20:00:16 UTC
@Kai
please name your O/S

on my LibO 4.1.3.2 under Win7 64bit it takes 1 or 2 seconds to export as PDF.
not 3 to 6 like you reported
Comment 4 Kai 2013-11-17 01:04:40 UTC
Ubuntu 12.10; further testing shows that the *first* conversion of the single-page doc takes 3-6 seconds (according to time, using CLI conversion); subsequent conversions take 1-2 seconds and larger documents amortize to that time per-page as well.

Still, 1-2 seconds per page is insane.
Comment 5 tommy27 2013-11-17 07:37:08 UTC
@Kai
try uploading a 10 pages document so we can effectively see if it takes 20 seconds to save on Windows.
Comment 6 tommy27 2013-11-23 04:15:38 UTC
Created attachment 89672 [details]
18 pages testcase

@Kai
I created an 18 pages RTF file duplicating you original one.
It takes just 4 seconds to export the whole file to PDF with LibO 4.1.3.2 under Win7 64 bit. do you experience different exporting time?
Comment 7 tommy27 2013-11-23 04:16:51 UTC
I change platform from ALL to LINUX
I change status from UNCONFIRMED to NEEDINFO
Comment 8 QA Administrators 2014-07-08 17:29:28 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2014-08-04 16:15:29 UTC Comment hidden (obsolete)
Comment 10 Robinson Tryon (qubit) 2015-12-18 11:03:58 UTC Comment hidden (obsolete)