Inkscape.org
Beyond the Basics Optimize performance for a file with a ton of objects
  1. #1
    LeovonGamer LeovonGamer @LeovonGamer

    Hello there ^^

    I am currently working on an  image containing a ton of boxes wrapped in plastic foil.
    Those ton of boxes are of course a ton of nodes, which of course can create a performance overhead.

    But that's not the problem. Those objects are hidden. I only have a few obcets for the plastic that are being rendered.
    Moving through the image is smooth as it can be.


    But when you change the position of an object in the hierarcy, inkscape freezes for a solid minute until I can use it again.
    Wanna draw a new line? Draw it, then wait a minute before you can do anything again.

    (For those who want to know: Every box contains 18 objects.
     Every horizontal row contains 8 boxes (so 144 objects per horizontal row)
     Every vertical row contains 8 horizontal rows (so 1'152 objects per vertical row of those horizontal rows)
     The whole bunch contains 32 of those vertical rows (36'864 objects in total)

    Do you guys know some tricks to optimize a document on how to manage objects?

    I use a Ryzen 9 3900X with a 1080 Ti. SVG file is stored on an NVME SSD.

    I thank you in advance for your helpful awnsers. ^^

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    First, I'd try disabling Preferences>Rendering>Dithering.

    Then, Id consider using clones where possible, and simplifying paths where possible.

    If filters are in use, I'd try View>Display mode>No filters, for object editing, then Display mode>Normal to review.

     

     

    Preferences   New Document 1 2022 10 25 08 13 30
  3. #3
    LeovonGamer LeovonGamer @LeovonGamer

    Thanks for the reply!

    I tried disableing dithering, but it seems like I don't have that option curiously. Is it maybe a feature in the new version? I have version 1.1.2.

    I have deleted most of the duplicates (all of them would be too much work with not much benefit), which has sped up the process dramatically.
    Instead of waiting a minute to load, I wait a second. That is good enough for me.

    So that problem if resolved, thanks for the help! ^^

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Optimize performance for a file with a ton of objects