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

Opt: 3 optimization listed below

+ validate Interval
+ config.multi_set to avoid frequent file write
+ merge BenchTouch and BenchScreen into once
This commit is contained in:
hgjazhgj
2023-05-12 14:55:18 +08:00
parent 0640732797
commit 8f9e48b8e5
9 changed files with 59 additions and 58 deletions

View File

@@ -83,7 +83,8 @@
"Interval": {
"Interval": {
"type": "input",
"value": "00:05"
"value": "00:05",
"validate": "\\d+:\\d"
}
},
"Storage": {
@@ -175,7 +176,8 @@
"Interval": {
"Interval": {
"type": "input",
"value": "07:00"
"value": "07:00",
"validate": "\\d+:\\d"
}
},
"Storage": {
@@ -240,13 +242,14 @@
},
"FpyBenchmark": {
"Benchmark": {
"BenchTouch": {
"type": "checkbox",
"value": true
},
"BenchScreen": {
"type": "checkbox",
"value": true
"BenchOption": {
"type": "select",
"value": "all",
"option": [
"touch",
"screen",
"all"
]
}
},
"Storage": {

View File

@@ -45,6 +45,7 @@ FpyEmulator:
Interval:
Interval:
value: 07:00
validate: "\\d+:\\d"
Team:
Index:
@@ -75,10 +76,12 @@ Limit:
value: 0
Benchmark:
BenchTouch:
value: True
BenchScreen:
value: True
BenchOption:
value: all
option:
- touch
- screen
- all
Call:
Function: