Benchmarks

Here are some of the per­for­mance bench­marks I’ve col­lected per­son­ally, feel free to ref­er­ence them, but do keep in mind that they should be taken at face value only, and as a rule of thumb you should be bench­mark­ing against your actual data and use case.

Dis­claimer : The bench­marks shown here are mostly cre­ated with sim­ple POCOs, and may not be rep­re­sen­ta­tive of your par­tic­u­lar use case.

 

Binary Seri­al­iz­ers

image[12]

image[9]

 

JSON Seri­al­iz­ers

image[18]

image[15]

 

Sorted­Dic­tionary vs Dic­tio­nary vs Map vs Array

image

More info here.

 

 

Cost of throw­ing exceptions

image

image

More info here.

 

 

Hash­Set vs List vs Dictionary

image

image

image

More info here.