feat(profiler): 实现高级性能分析器 (#248)

* feat(profiler): 实现高级性能分析器

* test(core): 添加 ProfilerSDK 和 AdvancedProfilerCollector 测试覆盖

* test(core): 添加 ProfilerSDK 和 AdvancedProfilerCollector 测试覆盖
This commit is contained in:
YHH
2025-11-30 00:22:47 +08:00
committed by GitHub
parent 359886c72f
commit 374e08a79e
35 changed files with 4168 additions and 9096 deletions

View File

@@ -87,8 +87,6 @@ export class WorldManager implements IService {
});
}
// ===== World管理 =====
/**
* 创建新World
*/
@@ -184,8 +182,6 @@ export class WorldManager implements IService {
return world?.isActive ?? false;
}
// ===== 批量操作 =====
/**
* 更新所有活跃的World
*
@@ -292,8 +288,6 @@ export class WorldManager implements IService {
return null;
}
// ===== 统计和监控 =====
/**
* 获取WorldManager统计信息
*/
@@ -342,8 +336,6 @@ export class WorldManager implements IService {
};
}
// ===== 生命周期管理 =====
/**
* 清理空World
*/
@@ -396,8 +388,6 @@ export class WorldManager implements IService {
this.destroy();
}
// ===== 私有方法 =====
/**
* 判断World是否应该被清理
* 清理策略:
@@ -423,8 +413,6 @@ export class WorldManager implements IService {
return !hasEntities && isOldEnough;
}
// ===== 访问器 =====
/**
* 获取World总数
*/