Because of a recent project, I got to take a closer look at how various types of serialization and deserialization perform in .Net, using the built in serializers. It pitted binary, XML, and JSON versus each other. My guess going in would be that binary would be the fastest, followed by JSON and then XML, following the size of each. That was generally true for serialization, but not for deserialization. XML deserialized faster than JSON, with JSON scaling really badly. Very interesting stuff.


Comments are closed