- Introduced performance enhancements for ADB exec-out, reducing execution time by 10-20% through the use of Popen with streaming reads, increased buffer sizes, and removal of unnecessary fsync calls. - Implemented optimizations in OCR processing, cutting recognition time by 50% by refining button recognition logic and improving image loading and preprocessing methods. - Added detailed performance diagnostics and configuration options to facilitate further optimizations. - Created new documentation files outlining the performance improvements and recommendations for future enhancements.
63 lines
348 B
Python
63 lines
348 B
Python
"""进程运行器组件
|
|
|
|
包含进程管理、日志收集等功能。
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
# 临时导入:从原文件导入,后续会逐步迁移
|
|
# TODO: 迁移完成后,移除此导入并在此文件中实现
|
|
from ..web_gui import ProcRunner
|
|
|
|
__all__ = ["ProcRunner"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|