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

@@ -59,6 +59,7 @@ public class DeviceNetworkingBenchmark
public async Task SetupAsync()
{
ProgramShared.PathOffset = "../../../../";
PoolManager.Startup(typeof(DeviceNetworkingBenchmark).Assembly);
_pair = await PoolManager.GetServerClient();
var server = _pair.Server;
@@ -91,6 +92,7 @@ public class DeviceNetworkingBenchmark
public async Task Cleanup()
{
await _pair.DisposeAsync();
PoolManager.Shutdown();
}
[Benchmark(Baseline = true, Description = "Entity Events")]