This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MemoryDiagnoser] | |
public class JsonSerializeBenchmark { | |
private const string json = "{\"Name\":\"insert name here\",\"Addresses\":[{\"Line1\":\"Address line 1\",\"Line2\":\"Address line 2\"},{\"Line1\":\"Address line 1\",\"Line2\":\"Address line 2\"}]}"; | |
[Benchmark] | |
public string Deserialize() => DeserializeJson(); | |
[Benchmark] | |
public string Parse() => ParseJson(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"action": "stream", | |
"streamUrl": [ | |
"https://telephonebanking.azurewebsites.net/calllogs/Stuart_22_01_28_12_15_07_96/call_audio.wav" | |
] | |
} | |
] |
OlderNewer