import {} from "./World.js";
export function profileWorld(world) {
    return {
        entities: world.entities.size,
        components: world.registry.list().map((type) => ({
            name: type.name,
            id: type.id,
            count: world.components.entries(type.ctor).length
        })),
        version: world.getVersion()
    };
}
//# sourceMappingURL=ECSProfiler.js.map