RunBenchmark("Deserialize from xml",xmlBytes.Length,()=>XmlFormatReader.CreateInstance(xmlBytes).Merge(defaultMessage.WeakCreateBuilderForType()).WeakBuild());
RunBenchmark("Deserialize from json",jsonBytes.Length,()=>JsonFormatReader.CreateInstance(jsonBytes).Merge(defaultMessage.WeakCreateBuilderForType()).WeakBuild());
RunBenchmark("Deserialize from xml",xmlBytes.Length,
RunBenchmark("Deserialize from dictionary",sampleMessage.SerializedSize,()=>newDictionaryReader(dictionary).Merge(defaultMessage.WeakCreateBuilderForType()).WeakBuild());