-Array pool perf test
This commit is contained in:
@@ -51,8 +51,17 @@ namespace Newtonsoft.Json.TestConsole
|
||||
//PerformanceTests t = new PerformanceTests();
|
||||
//t.DeserializeLargeJson();
|
||||
|
||||
//DeserializeLargeJson();
|
||||
WriteLargeJson();
|
||||
PerformanceTests t = new PerformanceTests();
|
||||
t.Iterations = 10000;
|
||||
t.BenchmarkDeserializeMethod<TestClass>(PerformanceTests.SerializeMethod.JsonNet, PerformanceTests.JsonText);
|
||||
|
||||
Console.WriteLine("Wait to do stuff again");
|
||||
Console.ReadKey();
|
||||
|
||||
t.BenchmarkDeserializeMethod<TestClass>(PerformanceTests.SerializeMethod.JsonNet, PerformanceTests.JsonText);
|
||||
|
||||
//ReadLargeJson();
|
||||
//WriteLargeJson();
|
||||
//DeserializeJson();
|
||||
//ReadLargeJson();
|
||||
//ReadLargeJsonJavaScriptSerializer();
|
||||
|
||||
Reference in New Issue
Block a user