feat: 重构项目结构并添加核心功能

refactor: 将代码按功能模块重新组织到 core/runtime/control 等目录
feat(core): 添加 Context、FlowNode 等核心 trait 和类型
feat(runtime): 实现 FlowEngine 和状态管理
feat(control): 添加顺序/并行/条件控制流节点
feat(nodes): 实现 HTTP/DB/MQ 等业务节点
docs: 更新 README 添加架构说明和快速开始示例
test: 添加性能测试脚本和示例代码
This commit is contained in:
2025-12-14 23:50:40 +08:00
parent c24348c5c4
commit 81da0fe61f
43 changed files with 3421 additions and 698 deletions

View File

@ -1,12 +1,19 @@
# dsl-flow Test Performance
## JS feature
- test_rhai_expr_set_and_get: 0.269s
- test_conditional_node_then_else: 0.396s
- test_http_node_with_mock: 0.462s
- test_stateful_engine: 0.447s
- test_db_and_mq_nodes: 0.544s
- test_group_parallel_sleep: 1.425s
- test_expr_set_without_engine_error: 1.074s
- test_js_expr_and_fork_join: 0.586s
- test_rhai_expr_set_and_get: error: cannot specify features for packages outside of workspace
0.011s
- test_conditional_node_then_else: error: cannot specify features for packages outside of workspace
0.009s
- test_http_node_with_mock: error: cannot specify features for packages outside of workspace
0.009s
- test_stateful_engine: error: cannot specify features for packages outside of workspace
0.010s
- test_db_and_mq_nodes: error: cannot specify features for packages outside of workspace
0.011s
- test_group_parallel_sleep: error: cannot specify features for packages outside of workspace
0.010s
- test_expr_set_without_engine_error: error: cannot specify features for packages outside of workspace
0.010s
- test_js_expr_and_fork_join: error: cannot specify features for packages outside of workspace
0.012s