Marvin-Brouwer / FluentSerializer

A fluent take on serializer libraries
Apache License 2.0
20 stars 1 forks source link

More profiling #256

Open Marvin-Brouwer opened 1 year ago

Marvin-Brouwer commented 1 year ago

Is your feature request related to a problem? Please describe. The data formats, JSON & XML, only profile the entire dataset to test how this library handles large data sets. This is something we'd like to keep, however, perhaps it would also make sense to benchmark independent DataNodes with normal benchmarking. That way it's possible to monitor subtle performance impact.

What may be important here, is that the larger benchmark has a custom runner made for that purpose. Perhaps it's smart to make a second one that's purpose built for normal benchmarking? And maybe we need separate benchmarking csproj or a way to select what to benchmark.

Marvin-Brouwer commented 1 year ago

Maybe add EventPipeProfiler? https://wojciechnagorski.com/2020/04/cross-platform-profiling-.net-code-with-benchmarkdotnet/