Collection of object serialization tests using various serialization libraries.
The scope of this project is to provide an overview of what each serialization library has to offer and to define some guidelines for creating serializable objects ( messages, commands, events ).
To run the tests you should install Gallio and use the GUI Icarus test runner to see the results. You can also take a look at Gallio Test Report
- BinaryFormatter
- DataContractSerializer
- DataContractJsonSerializer
- NetDataContractSerializer
- Newtonsoft Json.Net
- Newtonsoft Json.Net BSON
- NServiceBus BinarySerialize
- NServiceBus XMLSerialize
- ProtocolBufers.NET Serializer
- ServiceStack JsonSerializer
- SoapFormatter
- XmlSerializer
- JavaScriptSerializer
- Raven.Json
Basic benchmark results
You can read my conclusions at .NET Serialization Choices