chore: tighten Configuration defaults for memory and CPU
RenderDistanceVertical 4 -> 2 (smaller vertical load box) and WorkerThreadCount ProcessorCount-1 -> ProcessorCount/2 (less aggressive worker pool).
This commit is contained in:
@@ -3,12 +3,12 @@ namespace VoxelEngine.Core;
|
|||||||
public sealed class Configuration
|
public sealed class Configuration
|
||||||
{
|
{
|
||||||
public int RenderDistanceHorizontal { get; set; } = 8;
|
public int RenderDistanceHorizontal { get; set; } = 8;
|
||||||
public int RenderDistanceVertical { get; set; } = 4;
|
public int RenderDistanceVertical { get; set; } = 2;
|
||||||
public int SpawnReadyRadiusHorizontal { get; set; } = 1;
|
public int SpawnReadyRadiusHorizontal { get; set; } = 1;
|
||||||
|
|
||||||
public int MaxGenerateJobsInFlight { get; set; } = 8;
|
public int MaxGenerateJobsInFlight { get; set; } = 8;
|
||||||
public int MaxMeshUploadsPerFrame { get; set; } = 4;
|
public int MaxMeshUploadsPerFrame { get; set; } = 4;
|
||||||
public int WorkerThreadCount { get; set; } = Math.Max(1, Environment.ProcessorCount - 1);
|
public int WorkerThreadCount { get; set; } = Math.Max(1, Environment.ProcessorCount / 2);
|
||||||
|
|
||||||
public float MoveSpeed { get; set; } = 8f;
|
public float MoveSpeed { get; set; } = 8f;
|
||||||
public float MouseSensitivity { get; set; } = 0.15f;
|
public float MouseSensitivity { get; set; } = 0.15f;
|
||||||
|
|||||||
Reference in New Issue
Block a user