Reply To: Graph. Deserialize too much time consuming.How to optimize it?

NodeCanvas Forums General Discussion Graph. Deserialize too much time consuming.How to optimize it? Reply To: Graph. Deserialize too much time consuming.How to optimize it?

#13039
unitycoyote
Participant

Hello,

Initializing graphs and due to json deserialization, is definitely slow, but judging from your image it seems slower than it should generally be. Is it possible for you to send me the graph used so that I take a look at what types are serialized closer (support_AT_paradoxnotion.com) ?
Also, it is generally a good practice to pre-load the graph related gameobjects at “load time” instead of instantiating them on the fly, since regardless of how much optimization I might be able to put into the json deserialization, it would never achieve no allocations.
Once again, if possible, please do send me the graph used to support_AT_paradoxnotion.com so that I can see what can potentially be optimized.

Thanks!

I am sorry that I have been busy with other functions of the project recently.Could you please leave your email? I will send you a copy of the demo.