feat: Optimize ADB exec-out and OCR performance

- 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.
This commit is contained in:
Your Name committed 2026-01-02 02:06:01 +08:00
1 parent 148cdf56c2
commit a0aad21835
67 files changed
+1689 -351

No files matched your search

+1
View File
@@ -214,3 +214,4 @@ scrcpy --bit-rate=2M
+1
View File
@@ -208,3 +208,4 @@ python tools/check_system_config.py
+1
View File
@@ -226,3 +226,4 @@ python tools/check_system_config.py
+1
View File
@@ -285,3 +285,4 @@ grep "缓存命中" logs/unified_*.log
+1
View File
@@ -196,3 +196,4 @@ unified_2024-01-15.1.log.gz # 压缩后的文件
+1
View File
@@ -188,3 +188,4 @@ print(f"最后截图时间: {info['last_screenshot_time']}")