Download it now!
Bug 133976 - Export to EPUB takes a long time
Summary: Export to EPUB takes a long time
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: haveBacktrace, perf
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
Reported: 2020-06-14 08:40 UTC by lenochod
Modified: 2020-06-16 11:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

ODT file for Export (2.00 MB, application/vnd.oasis.opendocument.text)
2020-06-14 08:40 UTC, lenochod
Perf flamegraph (630.82 KB, image/svg+xml)
2020-06-14 12:27 UTC, Buovjaga

Note You need to log in before you can comment on or make changes to this bug.
Description lenochod 2020-06-14 08:40:54 UTC
Created attachment 161979 [details]
ODT file for Export

Steps to reproduce:

1. Open Nahrubo.odt document (It is in Attachment)
2. File -> Export As -> Export As EPUB...
3. In new window setting Layout Method: Fixed
4. Click to button OK
5. Writer is Freeze

I Test in:
- Windows 10 (1909) (64bit) with LibreOffice 7.0.0 beta1 -> Result: Freeze
- Fedora 32 (64 bit) with LibreOffice -> Result: Freeze
Comment 1 Telesto 2020-06-14 12:10:03 UTC
Not really freezing
* Lacking a progress bar 
* Being slow on Windows by default

However there might be something else going on too.. it really does take long long time - > 3 minutes. Needs to checked against Linux; does a better job creating epubs in general
Comment 2 Buovjaga 2020-06-14 12:27:45 UTC
Created attachment 161982 [details]
Perf flamegraph

Arch Linux 64-bit
Build ID: e43d8d0f91b6949fa3914d034f9b9c166740afcf
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 14 June 2020
Comment 3 Buovjaga 2020-06-14 12:29:05 UTC
I aborted the perf run after a while, it is not the full export time.
Comment 4 lenochod 2020-06-16 11:42:51 UTC
I waited 25 minutes, the epub file was not created.
There are only temp files (*.tmp and .~lock.Nahubo.epub#) on the hard disk.
Linux display window for killing LibreOffice or for Waiting.