Closed ogaca-dd closed 3 years ago
This PR adds several performance improvements:
MetricSerializer
BufferBuilder.Add
The overall improvement is ~ 70%.
Reviewing commit by commit is recommended.
This PR must be merged after https://github.com/DataDog/dogstatsd-csharp-client/pull/163.
@truthbk : I have added an implementation note for ConcurrentQueueWithPool.
ConcurrentQueueWithPool
This PR adds several performance improvements:
MetricSerializer
: Improve double serialization by ~15%.BufferBuilder.Add
by ~30%MetricSerializer
by 110%The overall improvement is ~ 70%.
Reviewing commit by commit is recommended.
This PR must be merged after https://github.com/DataDog/dogstatsd-csharp-client/pull/163.