.NET Serializer testing framework
C# Batchfile
Switch branches/tags
Nothing to show
Clone or download
Alois-xx - Added Reference Tracking tests
- Added -reftrackig switch to enable reference tracking tests
- Added -serializer switch to execute only one or more serializers you are interested in
- Added -list option to list all registered serializers
- Added -maxobj switch to limit the maximum number of serialized objects
Latest commit d260a7f May 6, 2018
Permalink
Failed to load latest commit information.
.vs
ExternalDependencies
Properties
Serializers
Specialities
TypesToSerialize
.gitattributes
.gitignore
App.config
Ngen.cmd
Program.cs
README.md
RunAll.cmd
RunTests.cmd
RunTests_Core.cmd
SerializerStack.stacktags
SerializerTests.csproj
SerializerTests.csproj.user
SerializerTests.sln
TestBase.cs
Test_O_N_Behavior.cs

README.md

SerializerTests

.NET Serializer testing framework

This test framework compares the most popular and fastest serializers for .NET which was the input for https://aloiskraus.wordpress.com/2017/04/23/the-definitive-serialization-performance-guide/

The project compiles to .NET 4.7 and .NET Core 2.0 where you can check out the serialization performance in your favorite .NET Framework. The currently tested serializers are

  • BinaryFormatter
  • Bois
  • DataContract
  • FastJson
  • FlatBuffer
  • GroBuf
  • JIL
  • Json.NET
  • MessagePackSharp
  • MsgPack.Cli
  • Protobuf.NET
  • SerivceStack
  • SlimSerializer
  • Wire
  • Hyperion (Wire Fork)
  • XmlSerializer
  • ZeroFormatter

The test suite tries its best to be fair and vendor neutral. More than one serializer claims to be the fastest. Now you can test at your own if that is really the case. If I have forgot a great serializer (should be as fast or faster than Protobuf) please drop me a note and I will include it.