Add SpawnEquipDeleteBenchmark (#19566)

This commit is contained in:
Leon Friedrich
2023-09-03 08:53:45 +12:00
committed by GitHub
parent 946958f6c6
commit 182b5267ad
5 changed files with 80 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ public class MapLoadBenchmark
public void Setup()
{
ProgramShared.PathOffset = "../../../../";
PoolManager.Startup(null);
_pair = PoolManager.GetServerClient().GetAwaiter().GetResult();
var server = _pair.Server;
@@ -42,6 +43,7 @@ public class MapLoadBenchmark
public async Task Cleanup()
{
await _pair.DisposeAsync();
PoolManager.Shutdown();
}
public static IEnumerable<string> MapsSource { get; set; }