Feature/advanced profiler (#249)
* feat(profiler): 实现高级性能分析器 * test(core): 添加 ProfilerSDK 和 AdvancedProfilerCollector 测试覆盖 * test(core): 添加 ProfilerSDK 和 AdvancedProfilerCollector 测试覆盖 * test(core): 添加 ProfilerSDK 和 AdvancedProfilerCollector 测试覆盖
This commit is contained in:
@@ -512,6 +512,15 @@ export class Core {
|
||||
return this._instance?._config.debugConfig?.enabled || false;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取性能监视器实例
|
||||
*
|
||||
* @returns 性能监视器,如果Core未初始化则返回null
|
||||
*/
|
||||
public static get performanceMonitor(): PerformanceMonitor | null {
|
||||
return this._instance?._performanceMonitor || null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 安装插件
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user