public ComponentBenchmarks() { ECSWorld world = new ECSWorld(false); cm = world.ComponentManager; entities = new Entity[numEntities]; for (int i = 0; i < numEntities; i++) { Entity e = new Entity(i + 1, 0); entities[i] = e; cm.AddEntity(e, EntityArchetype.Empty); cm.AddComponent(e, new TestComponent()); } }