We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2aeeae commit 1edbd62Copy full SHA for 1edbd62
PhpSerializerNET.Test/Deserialize/Options/EnableTypeLookup.cs
@@ -52,7 +52,7 @@ public void CachingWorks() {
52
stopWatch.Stop();
53
long cachedTime = stopWatch.ElapsedTicks;
54
55
- Assert.True(uncachedTime / cachedTime > 100);
+ Assert.True(uncachedTime / cachedTime > 5);
56
57
PhpSerialization.ClearTypeCache();
58
PhpSerialization.ClearPropertyInfoCache();
@@ -64,7 +64,7 @@ public void CachingWorks() {
64
);
65
66
long secondUncachedTime = stopWatch.ElapsedTicks;
67
- Assert.True(secondUncachedTime / cachedTime > 10);
+ Assert.True(secondUncachedTime / cachedTime > 5);
68
}
69
70
[Fact]
0 commit comments