Split PoolManager into separate classes. (#19370)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Threading.Tasks;
|
||||
using BenchmarkDotNet.Attributes;
|
||||
using Content.IntegrationTests;
|
||||
using Content.IntegrationTests.Pair;
|
||||
using Content.IntegrationTests.Tests.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork.Systems;
|
||||
@@ -16,7 +17,7 @@ namespace Content.Benchmarks;
|
||||
[MemoryDiagnoser]
|
||||
public class DeviceNetworkingBenchmark
|
||||
{
|
||||
private PairTracker _pair = default!;
|
||||
private TestPair _pair = default!;
|
||||
private DeviceNetworkTestSystem _deviceNetTestSystem = default!;
|
||||
private DeviceNetworkSystem _deviceNetworkSystem = default!;
|
||||
private EntityUid _sourceEntity;
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BenchmarkDotNet.Attributes;
|
||||
using Content.IntegrationTests;
|
||||
using Content.IntegrationTests.Pair;
|
||||
using Content.Server.Maps;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared;
|
||||
@@ -17,7 +18,7 @@ namespace Content.Benchmarks;
|
||||
[Virtual]
|
||||
public class MapLoadBenchmark
|
||||
{
|
||||
private PairTracker _pair = default!;
|
||||
private TestPair _pair = default!;
|
||||
private MapLoaderSystem _mapLoader = default!;
|
||||
private IMapManager _mapManager = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user