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:
1 parent
148cdf56c2
commit
a0aad21835
67 files changed
+1689
-351
No files matched your search
@@ -214,3 +214,4 @@ scrcpy --bit-rate=2M
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -208,3 +208,4 @@ python tools/check_system_config.py
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -226,3 +226,4 @@ python tools/check_system_config.py
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -285,3 +285,4 @@ grep "缓存命中" logs/unified_*.log
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -196,3 +196,4 @@ unified_2024-01-15.1.log.gz # 压缩后的文件
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -188,3 +188,4 @@ print(f"最后截图时间: {info['last_screenshot_time']}")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user