Awesome
Serialization Tests
Collection of object serialization tests using various serialization libraries.
Scope
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 ).
Running the tests
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
Serialization Libraries Used
- 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
Benchmark
Basic benchmark results
Conclusion
You can read my conclusions at .NET Serialization Choices