feat(flow): 新增分组执行与异步模式支持

refactor(executors): 将 Rhai 引擎评估逻辑迁移至 script_rhai 模块
docs: 添加 Flow 架构文档与示例 JSON
feat(i18n): 新增前端多语言支持
perf(axios): 优化 token 刷新与 401 处理逻辑
style: 统一代码格式化与简化条件判断
This commit is contained in:
2025-12-03 20:51:22 +08:00
parent a1b21e87b3
commit 75c6974a35
20 changed files with 1830 additions and 299 deletions

View File

@ -0,0 +1,29 @@
{
"url": "http://127.0.0.1:9898/api/dynamic/code_js1",
"method": "POST",
"total": 5000,
"concurrency": 300,
"timeout_sec": 8.0,
"ok": 5000,
"errors": 0,
"has_data": 5000,
"duration_ms": 13893.509542103857,
"throughput_rps": 359.88027250045445,
"status_counts": {
"200": 5000
},
"latency_ms": {
"min": 446.18216599337757,
"avg": 820.1658831051551,
"max": 1031.878500012681,
"p50": 853.5854578949511,
"p90": 910.5232087895274,
"p95": 950.7714579813182,
"p99": 1012.8602078184485
},
"resp_size_bytes": {
"avg": 42,
"min": 42,
"max": 42
}
}

View File

@ -0,0 +1,29 @@
{
"url": "http://127.0.0.1:9898/api/dynamic/code_js1",
"method": "POST",
"total": 5000,
"concurrency": 300,
"timeout_sec": 8.0,
"ok": 5000,
"errors": 0,
"has_data": 5000,
"duration_ms": 20240.968541940674,
"throughput_rps": 247.02375232883037,
"status_counts": {
"200": 5000
},
"latency_ms": {
"min": 384.1903330758214,
"avg": 1199.4089808925055,
"max": 1533.5173748899251,
"p50": 1244.2287909798324,
"p90": 1380.3387091029435,
"p95": 1421.7030832078308,
"p99": 1466.3815409876406
},
"resp_size_bytes": {
"avg": 42,
"min": 42,
"max": 42
}
}

View File

@ -0,0 +1,29 @@
{
"url": "http://127.0.0.1:9898/api/dynamic/code_js1",
"method": "POST",
"total": 5000,
"concurrency": 300,
"timeout_sec": 8.0,
"ok": 5000,
"errors": 0,
"has_data": 4257,
"duration_ms": 7239.655584096909,
"throughput_rps": 690.6405894478352,
"status_counts": {
"200": 5000
},
"latency_ms": {
"min": 243.2825828436762,
"avg": 425.6030804462731,
"max": 587.7386662177742,
"p50": 414.4594999961555,
"p90": 484.4337080139667,
"p95": 531.1474581249058,
"p99": 569.8145001661032
},
"resp_size_bytes": {
"avg": 40.9598,
"min": 35,
"max": 42
}
}