1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Add: Faster screenshot methods ADB_nc and aScreenCap_nc

- Allow config names when creating Device instances
- Add "Ultra Fast" level in performance test
This commit is contained in:
LmeSzinc
2022-03-23 21:20:01 +08:00
parent 5951d05f90
commit 5ba2f5c5ac
16 changed files with 254 additions and 60 deletions

View File

@@ -21,7 +21,7 @@ class GeneratedConfig:
Emulator_Serial = '127.0.0.1:5555'
Emulator_PackageName = 'com.bilibili.azurlane'
Emulator_Server = 'cn' # cn, en, jp, tw
Emulator_ScreenshotMethod = 'ADB' # ADB, uiautomator2, aScreenCap
Emulator_ScreenshotMethod = 'ADB' # ADB, ADB_nc, uiautomator2, aScreenCap, aScreenCap_nc
Emulator_ControlMethod = 'minitouch' # ADB, uiautomator2, minitouch, Hermit
Emulator_ScreenshotDedithering = False
@@ -359,8 +359,10 @@ class GeneratedConfig:
# Group `Benchmark`
Benchmark_AdbScreenshot = True
Benchmark_AdbncScreenshot = True
Benchmark_Uiautomator2Screenshot = True
Benchmark_AscreencapScreenshot = True
Benchmark_AscreencapncScreenshot = True
Benchmark_AdbClick = True
Benchmark_Uiautomator2Click = True
Benchmark_MinitouchClick = True