Skip to content

Fix SYNFIG_DEBUG_VALUENODE_OPERATORS #1416

Open

Description

@ice0

There is no reason to check the environment variable in every frame with every action. This leads to poor performance.

Activity

  1. added this to the v1.6.0 milestone on May 16, 2020
  2. morevnaproject commented on May 18, 2020

    @morevnaproject
    Member

    Good catch! ^__^

  3. morevnaproject commented on Jun 16, 2020

    @morevnaproject
    Member

    I have made a test: removed all "getenv" calls - morevnaproject@02473a5

    Tested speed using synfigplayer on pirates.sif and this file.

    Unfortunately, there is no performance difference.

  4. ice0 commented on Jun 16, 2020

    @ice0
    CollaboratorAuthor

    @morevnaproject Perhaps you can see the difference when doing the editing.

  5. morevnaproject commented on Jun 18, 2020

    @morevnaproject
    Member

    ...Also, I need to test it on Windows. ^__^

  6. morevnaproject commented on Jul 21, 2020

    @morevnaproject
    Member

    Tested on Windows with this file.

    The sped win is only ~0.015 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions