alelievr / NodeGraphProcessor

Node graph editor framework focused on data processing using Unity UIElements and C# 4.6
https://github.com/alelievr/NodeGraphProcessor/projects/2
MIT License
2.28k stars 379 forks source link

Huge GC alloc, sky high Cpu spikes, almost unusable at runtime #224

Open wkzhou1988 opened 1 year ago

wkzhou1988 commented 1 year ago
截屏2022-11-29 22 04 41

Encountered huge GC alloc when loading or instantiating NodeGraph asset. I believe most are due to boxing&unboxing since many of parameter passing are cast to object. Yet found no way to walk around this fact. Maybe I shouldn't have used it to build runtime graphs?