Add PVS benchmark (#23166)
* Add PVS benchmark * poke tests * Shuffle players around * Add caveat * Add CycleTick() benchmark * Make async false * Oops
This commit is contained in:
@@ -23,13 +23,6 @@ namespace Content.Benchmarks
|
||||
|
||||
public static async Task MainAsync(string[] args)
|
||||
{
|
||||
PoolManager.Startup(typeof(Program).Assembly);
|
||||
var pair = await PoolManager.GetServerClient();
|
||||
var gameMaps = pair.Server.ResolveDependency<IPrototypeManager>().EnumeratePrototypes<GameMapPrototype>().ToList();
|
||||
MapLoadBenchmark.MapsSource = gameMaps.Select(x => x.ID);
|
||||
await pair.CleanReturnAsync();
|
||||
PoolManager.Shutdown();
|
||||
|
||||
#if DEBUG
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine("\nWARNING: YOU ARE RUNNING A DEBUG BUILD, USE A RELEASE BUILD FOR AN ACCURATE BENCHMARK");
|
||||
|
||||
Reference in New Issue
Block a user