[Libreoffice-bugs] [Bug 131951] New: Quadratic time on reading and converting html files with images
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 7 08:19:21 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131951
Bug ID: 131951
Summary: Quadratic time on reading and converting html files
with images
Product: LibreOffice
Version: 6.4.2.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: klev.paul at gmail.com
Description:
Time of opening and converting html files with embedded base64 images is
quadratic to image size
For my test I'm using command
```
soffice --headless --norestore --convert-to odt:writerweb8_writer $file_name
```
to convert from html to odt
Time of execution of the command depends on size of the embedded image.
For example if image size is 100kB, then it takes about 0.4 seconds,
for 5MB image it is already 29 sec on my machine,
html with 16 MB image requires 4 minutes to be converted
Also time to open such html has similar correlation to the images
See attachments for the statistics and the html files
Steps to Reproduce:
1a. Convert html file with embedded base64 encoded image
using command soffice --headless --norestore --convert-to odt:writerweb8_writer
$file_name
1b. Or try to open such files with LibreOfficeWriter
Actual Results:
Time to open/convert file is quadratic to image file size
Expected Results:
Time to open/convert file should be linear to image file size
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.4.2.2
Build ID: 6.4.2-1
CPU threads: 12; OS: Linux 5.5; UI render: default; VCL: kf5;
Locale: fr-CH (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200407/9ec6bc69/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list