Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large Stage Variables Cause Slowness #106

Open
matthew-schiller opened this issue Nov 22, 2022 · 0 comments
Open

Large Stage Variables Cause Slowness #106

matthew-schiller opened this issue Nov 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@matthew-schiller
Copy link

matthew-schiller commented Nov 22, 2022

Describe the bug
Populating stage variables with a large amount of data is causing the entire execution to slow down, even if the stage variable is not being interacted with. The provided example builds quickly to the add_stage_data node, but any node built after that slows down considerably.

{
    "version": "1.17",
    "alias": "stage_slowness",
    "color": "#991c24",
    "mute": false,
    "solo": false,
    "meta_data": {
        "positions": {
            "/root": [
                193.0,
                -63.0
            ]
        },
        "collapse": {
            "/root": false,
            "/root/b": false,
            "/root/c": true
        }
    },
    "nodes": {
        "/": {
            "code": [
                ""
            ]
        },
        "/root": {
            "start_point": true,
            "child_order": [
                "a",
                "b",
                "add_stage_data",
                "c",
                "d",
                "e",
                "f"
            ]
        },
        "/root/a": {},
        "/root/add_stage_data": {
            "code": [
                "STAGE.data_test = [x for x in range(1000000)]",
                ""
            ]
        },
        "/root/b": {},
        "/root/c": {},
        "/root/d": {},
        "/root/e": {},
        "/root/f": {}
    }
}

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • DCC [e.g. Maya, Nuke]
  • Version [e.g. API v0.7.3]

nxt maya
graph v1.17
api v0.14.0
editor v3.12.1

@matthew-schiller matthew-schiller added the bug Something isn't working label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant