Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前置结果的多次解析 #15

Open
sugerboy20170827 opened this issue Aug 8, 2024 · 2 comments
Open

前置结果的多次解析 #15

sugerboy20170827 opened this issue Aug 8, 2024 · 2 comments

Comments

@sugerboy20170827
Copy link

有这样一种场景,
image
结点2和结点3都依赖结点1的前置结果,目前的解析方式,会把结点的结果解析两次(解析成Json,然后通过jsonpath获取参数)。是否需要把每个结点的jsonpath记录下来,减少解析次数

@sugerboy20170827
Copy link
Author

image
image
image
如果后面多个op依赖前置op的结果,那么前置op就会被解析多次

@ytyht226
Copy link
Owner

ytyht226 commented Aug 9, 2024

嗯,现状是会重复解析,可以做个压测看看,jsonpath解析的性能怎么样;下个版本考虑优化一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants