Some latency bug found

This commit is contained in:
2025-06-30 15:45:41 +03:00
parent af6e7b6547
commit 1b0f867653
5 changed files with 17 additions and 38 deletions
+2 -2
View File
@@ -127,12 +127,12 @@ class Program
DemoCheck.TaskCancelation = true;
#endif
const int iterations = 10000;
const int iterations = 10;
var timer = Stopwatch.StartNew();
var x = 0;
for (int i = 0; i < iterations; i++)
{
x = loadSingleton.Next(x);
x = await loadSingleton.Next(x);
}
timer.Stop();