Closed
Description
Because of an efficient implementation of Enumerable pattern.
It creates a significant pressure to GC.
Most of the traffic come from boxed KeyValuePair<CollectionEntry, IPersistentCollection>
values, but Enumerator also could be made a struct
for removing allocations further.
During a startup our application caches a lot of data.
So, the image below is for our case.
I work on a fix, check my solution against original using DotNetBenchmark.