Benchmarks

Here are some of the performance benchmarks I’ve collected personally, feel free to reference them, but do keep in mind that they should be taken at face value only, and as a rule of thumb you should be benchmarking against your actual data and use case.

Disclaimer : The benchmarks shown here are mostly created with simple POCOs, and may not be representative of your particular use case.

 

Binary Serializers

image[12]

image[9]

 

JSON Serializers

image[18]

image[15]

 

SortedDictionary vs Dictionary vs Map vs Array

image

More info here.

 

 

Cost of throwing exceptions

image

image

More info here.

 

 

HashSet vs List vs Dictionary

image

image

image

More info here.