Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.7 KB

File metadata and controls

33 lines (24 loc) · 1.7 KB

Serializers Benchmarks

This folder contains benchmarks of the most popular serializers.

Serializers used (latest stable versions)

Missing: ProtoBuff from Google and BOND from MS

Data Contracts

Data Contracts were copied from a real Web App - allReady to mimic real world scenarios.

Design Decisions

  1. We want to compare "apples to apples", so the benchmarks are divided into few groups: ToStream, FromStream, ToString, FromString.
  2. Stream benchmarks write to pre-allocated MemoryStream, so the allocated bytes columns include only the cost of serialization.