Load test works, but very slow

This commit is contained in:
micialware committed 2025-07-12 21:28:37 +03:00
1 parent d8d4ccca39
commit 3ce66786b5
2 files changed
+25 -19

No files matched your search

+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);
}