Skip to content

[question] What could be a reason of the long time nodes creation? #43

@danvervlad

Description

@danvervlad

I'm using NodeNetwork 3.1.0 nuget. In my project creating of 80 nodes takes ~10sec. But Creating 80 nodes + 107 connections takes ~1m 10 sec.

image

The timeline profiler in Rider shows the next picture

image

I guess the reason is events which are raised by creating of connections, but i can't figure out how to avoid that. I have subscriptions on input value changed, on input connection changed. On these events I update data inside of node. I thought that networkViewModel.SuppressChangeNotifications(); helps, but it doesn't. Also in profiler picture I can see that Graph Validator's Find Loops takes ~5 sec, I guess I can turned it off while scene is loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions