Repository navigation
增强性能分析器功能并新增UI性能图表可视化 - #4480
Merged
Merged
Conversation
donghaiwang
approved these changes
Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改概述:
本次PR对系统性能监控模块进行全面增强,一方面升级performance_analyzer.py,新增性能评分、趋势分析、异常检测等实用功能,完善性能统计与日志导出能力;另一方面优化ui_renderer.py,新增FPS、CPU、内存、手势识别时间的多维度可视化图表,让性能状态更直观可查,助力系统运维与优化。
修改的详细描述
performance_analyzer.py:新增0-100分性能评分系统、FPS/CPU/内存趋势分析、性能异常检测(FPS骤降/CPU飙升/内存泄漏),补充手势识别延迟、无人机命令延迟统计,支持性能日志与异常日志单独导出,完善详细性能报告与自动优化建议生成。ui_renderer.py:新增多性能图表绘制功能(含FPS、CPU、内存、识别时间图表),优化状态栏性能信息展示(性能评分/趋势),增加图表网格与刻度提升可读性,支持多图表同时布局显示。经过了什么样的测试?
运行效果
动图、视频、截图等
default.mp4
default.mp4