https://bugs.documentfoundation.org/show_bug.cgi?id=146319
Bug ID: 146319
Summary: [SVG] load/export of W3C SVG example car.svg is slow
Product: LibreOffice
Version: 7.2.4.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Loading the W3C SVG example car.svg is slow in LibreOffice, and the export to
PDF is also slow. Each of these take ~10 seconds. The same file is loaded
immediately in Firefox and Chrome. On debug builds of LibreOffice, it is ~1
minute.
Steps to Reproduce:
1. Download this example from w3.org website:
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/car.svg
2. Open it in LibreOffice using "Open File"
3. Export it to PDF
Actual Results:
The loading is slow, and the interface becomes non-responsive for some seconds.
In the official release build, it takes ~10 seconds to become responsive again.
Export to PDF also takes ~10 seconds. On debug builds of LibreOffice, it is ~1
minute.
Expected Results:
The file should be loaded immediately (<1s) and the UI should be responsive.
Reproducible: Always
User Profile Reset: No
Additional Info:
Tested with LibreOffice 7.2:
Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Converting to PDF using LibreOffice is 10 times slower compared to Chrome.
$ time libreoffice7.2 --headless --convert-to pdf car.svg
convert /out/car.svg -> /out/car.pdf using filter : draw_pdf_Export
Overwriting: /out/car.pdf
real 0m7.889s
user 0m5.882s
sys 0m0.460s
$ time google-chrome --headless --disable-gpu --print-to-pdf car.svg
[1219/203135.191113:INFO:headless_shell.cc(653)] Written to file output.pdf.
real 0m0.703s
user 0m0.139s
sys 0m0.058s
Debug build of the latest LibreOffice 7.4 master:
$ time ./instdir/program/soffice --headless --convert-to pdf car.svg
...
convert /out/car.svg -> /out/car.pdf using filter : draw_pdf_Export
...
real 1m2.630s
user 1m0.568s
sys 0m0.781s
--
You are receiving this mail because:
You are the assignee for the bug.