Where are my Allocations coming from?
https://github.com/NexStandard/NexYamlSerializer
thats my repo, if you dont have net10, changing in the projects to net9 is also possible
im benchmarking currently only parsing
https://github.com/NexStandard/NexYamlSerializer/blob/main/ConsoleApp2/FileName.cs#L28-L29
and i dont get where the allocations are comming from
im aware that i create 7 mappings and 14 scalar objects
but that cant allready be almost 5kb allocations, when i use VS allocation debugger i cant get any further to find the reason for such allocations
also i dont know how to further improve the codes allocations
GitHub
GitHub - NexStandard/NexYamlSerializer: Universal Yaml Serializer b...
Universal Yaml Serializer based on Stride.Core.Datacontract - NexStandard/NexYamlSerializer
GitHub
NexYamlSerializer/ConsoleApp2/FileName.cs at main · NexStandard/Ne...
Universal Yaml Serializer based on Stride.Core.Datacontract - NexStandard/NexYamlSerializer
0 Replies