How does FsPickler compare against other .Net serialization libraries in terms of performance? In this section we present a few microbenchmarks: we compared FsPickler against BinaryFormatter, NetDataContractSerializer, Json.Net 7.0, ProtoBuf-Net 2.0 and Wire 0.0.5. Code used to run the tests is available in the FsPickler.PerfTests project. Benchmarks were run on an Intel Core i7-7200K CPU @ 3.50GHz with 16GB RAM.
Last updated on October 12, 2015.
The first set of tests measures serialization roundtrip time and GC collections. Performance testing was done using the PerfUtil library. Libraries not appearing in charts failed to serialize the tested objects. Benchmarks are indicative and in no way scientific.
The second set of tests compare the size (in bytes) of serialized objects. Libraries not appearing in charts failed to serialize the tested objects.