Faster cbor serialization with caching

This commit is contained in:
2025-07-03 18:13:02 +03:00
parent b27dfa0b0a
commit faf73e7798
10 changed files with 41 additions and 16 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants></DefineConstants>
<DefineConstants>JUST_LOAD</DefineConstants>
</PropertyGroup>
<ItemGroup>
+2 -3
View File
@@ -131,7 +131,7 @@ class Program
DemoCheck.TaskCancelation = true;
#endif
const int iterations = 10;
const int iterations = 10000;
var timer = Stopwatch.StartNew();
var x = 0;
for (int i = 0; i < iterations; i++)
@@ -147,7 +147,6 @@ class Program
frontendBridge.Disconnect();
DemoCheck.Show();
Console.ReadKey();
// DemoCheck.Show();
}
}