Optimization: Improve performance

Issue #676 closed
legija created an issue

How does the Valentina team plan on improving performance when using layout mode/draw mode when working with an extremely large and complicated file?

Draw mode on a quick machine is pretty doable still, however, curving of lines is very slow.

Layout mode, going further than 21-40 pieces to "layout", starts taking ages.

What are the ideas to improve performance in these situations? Is use of multiple cores when using the layout algorithm an idea?

Comments (14)

  1. Roman Telezhynskyi repo owner

    Currently the layout generator uses all cores you can provide. As too performance in Draw/Detail mode it is low now.

    How does the Valentina team

    You mean one developer? You should understand that we have very limited amount of resources. And this task will require stopping further adding new features and concentrating on improving performance.

    Draw mode on a quick machine is pretty doable still, however, curving of lines is very slow.

    Because now you can use only one core.

    What are the ideas to improve performance in these situations?

    Are you developer? :)

    Very few people interested in coding for this project, but many in using. Mostly because most of them are designers. That's the reason why we growth so slowly. Open source doesn't work this way. You can't make money so easelly on someone else's work.

  2. legija reporter

    Merely trying to help Roman and really appreciate all the work you're doing. It's frustrating as hell that I can't help with coding, all I can do is give pointers to what I'm seeing from usage of the program :)

  3. Roman Telezhynskyi repo owner

    Okay. I know about performance "disaster", but can't do much now. First @tusuzu should give me a green light.

    Yes, i have some ideas how to improve efficiency, but it will require a lot time (probably month or two).

    Layout mode, going further than 21-40 pieces to "layout", starts taking ages.

    To improve this i will need an examples of such big files. Also, do you know about page UserManual:Creating Layouts?

  4. legija reporter

    Also, do you know about page UserManual:Creating Layouts?

    ^^ this fixed it.

    Divide layout into strips, change algorithm to big/middle/small grouping. Makes it 10x faster on a 10meter sheet.

    lol great example of "RTFM"

    Thanks Roman!

  5. Susan Spencer

    This issue is about improving performance for the entire Valentina application. This problem is most visible when creating a layout with many pieces.

  6. Log in to comment