https://bugs.freedesktop.org/show_bug.cgi?id=76351
Priority: medium
Bug ID: 76351
Assignee: [email protected]
Summary: FILESAVE: Severe performance issues of Writer saving
file with linked graphics
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.1.4.2 release
Component: Writer
Product: LibreOffice
Created attachment 96035
--> https://bugs.freedesktop.org/attachment.cgi?id=96035&action=edit
zip-folder-with-odt_performance-issue-with-linked-graphics.zip
Saving attached file (to .odt) is incredibly slow (~7 min). There seems to be
some severe inefficiency in the .odt saving mechanism, as the .docx export
filter is much quicker.
Expected behaviour:
Saving .odt with linked graphics should be much quicker (at least as quick as
saving the same file to .docx!)
Details:
Attached document uses five linked graphics which are applied about 50 times. I
created the document to test, whether LibreOffice Writer is capable for a
certain task for which I need linked graphics in a long document. The result is
that Writer is not capable enough. There is a severe (prohibitive) performance
issue when saving documents with linked graphics to .odt (no problem with
.docx!).
Measurements:
* Loading .odt (no problem!) ~4sec. (3.78 / 3.92 / 4.09 / 4.18 / 4.27 sec)
* Save file as .odt (big problem!) ~7 min. (07:44 / 07:51 / 06:02 / 07:32 min)
All in all, the saving process takes lots of CPU (roughly a third of CPU,
quickly fluctuating between cores) but only about 30MB additional RAM usage.
How to reproduce:
* Download and unpack attached .zip folder. (There is one .odt file and three
graphics in a subfolder)
* Open the .odt file (this will take just a few seconds)
* Make a small change, e.g. add one character "a", to the text.
* Save the file again. This will take incredibly long. ~7 min
* More supplementary measurements:
** Saving the same file with linked graphics as .docx takes only ~4 sec. !
** Loading that .docx-file again takes ~4min.
** Breaking the links via Edit-Links-Break(all) to embed the graphics takes ~ 8
min (no big problem as the user does that only once).
** Saving that file with embedded graphics to .odt takes ~24sec.
** Loading that .odt-file with embedded graphics takes long: ~4min.
** Saving file with embedded graphics to .docx takes only ~8sec. !
** Loading that .docx file with embedded graphics takes only ~20 sec. !
-> All in all, the .docx filter in Writer seems to work much more efficient
than the native .odt filter!
System: Lenovo Thinkpad Notebook with Intel® Core™ i3-3120M CPU @ 2.50GHz × 4
(Ivybridge) (8GB RAM).
OS: Ubuntu 13.04, 64-Bit
LibreOffice: Version: 4.1.4.2, Build ID: 410m0(Build:2)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs