Replies: 1 comment
-
Good suggestion. I think parallelizing crawling is fine |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The process where a client requests the custom data structures from a server (function
load_data_type_definitions()
) is quite slow, in my limited scenario it takes up to 10 seconds after a connection. I see that quite a lot of time is spent in the_recursive_parse()
function in theasyncua.common.structures104 module
, basically because all the recursive requests are performed synchronously (i.e.await
ed within the loop). A quick modification to parallelize in part:provides a significant speed up (less than half the time). I have not run thorough tests yet but in my current application the results seem correct, are there any pitfalls I am not aware of?
Beta Was this translation helpful? Give feedback.
All reactions