https://bugs.freedesktop.org/show_bug.cgi?id=54722

             Bug #: 54722
           Summary: Draw extremely slow when stressed with complex drawing
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.5.4 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Drawing
        AssignedTo: [email protected]
        ReportedBy: [email protected]


One of the great things about Draw is that it can open PDF files.

A common task for electronic engineers is to document their schematic and
layout designs, typically in a Writer document. However most schematic
entry/layout software don't export formats that word processors can import,
except bitmaps. But these can't be edited with comments/modifications to
improve clarity etc.

In the case below I create gerber files (an old format based on pen coordinates
and a standard format in the industry), then view these in a gerber viewer
(GC-Preview in this case). I print the output to a pdf file using our cups-pdf
printer (see following zip file '120024 sample layout.pdf.zip').

Then importing to draw I get '120024 sample layout.odg'.

Now working on the drawing is virtually impossible due to the excessive memory
use (after a while) and really terrible slowness of Draw. See metrics below.

I expect the problem happens because draw has not really been tested using a
drawing  with many objects (~100000). Therefore I am donating the attached
layout files, that are copyright our company for the purpose of
testing/improving Draw to the community.

zip file 2.2MiB, pdf file 24.5MiB after conversion to odg: 930kiB.
system: quad core 2664MHz, LO using 1 core.
open/conversion time for pdf->odg: 10 minutes
save time odg: 2 minutes
#object on page 8: 63608
with anti-aliasing (AA) off drag/move all on page 8: 25 sec.
turn on AA: 20 sec.
with anti-aliasing (AA) on drag/move all on page 8: 105 sec.
memory use at this point: 530748kiB.

I think that these files can be used as a test case to find inefficiencies in
Draw's code. Resolving these will improve the performance for all users.

Ferry

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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

Reply via email to