This commit is contained in:
James Newton-King
2017-01-19 19:24:57 +13:00
29 changed files with 471 additions and 74 deletions
@@ -274,7 +274,7 @@ namespace Newtonsoft.Json.Tests
{
var json = System.IO.File.ReadAllText("large.json");
BenchmarkDeserializeMethod<IList<RootObject>>(SerializeMethod.JsonNet, json, Iterations / 10, false);
BenchmarkDeserializeMethod<IList<RootObject>>(SerializeMethod.JsonNet, json, Math.Min(Iterations, 10), false);
}
[Test]