Load test works, but very slow

This commit is contained in:
2025-07-12 21:28:37 +03:00
parent d8d4ccca39
commit 3ce66786b5
2 changed files with 25 additions and 19 deletions
+2 -1
View File
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Example.Shared;
@@ -10,8 +9,10 @@ namespace Example.Backend
[SharedObjectSingleton]
public class LoadTestImp : ILoadTest
{
public static int N;
public Task<int> Next(int last)
{
Console.WriteLine(++N);
return Task.FromResult( last + 1);
}