invoke function take long time #1057
Unanswered
Xiaobaishushu25
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently facing an issue where I'm trying to receive an image from the frontend and write it to the hard disk on the backend. I've already implemented asynchronous programming in Rust, but the invoke function still takes a long time (several seconds, increasing as the image size grows).this is my front code:
this is my rust code,i have use anysc:
this is run capture:
It can be seen that the rust function does not take much time, but the invoke takes a long time, where did it take?
Beta Was this translation helpful? Give feedback.
All reactions