Replies: 1 comment 1 reply
-
Hey @Sinbol , Can you share the way you are making this benchmark? Both cases use (eventually) the same dispatch method. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The reason is that I wanted to define a customize command, but found that the performance of dispatch() is relatively poor.
test case as following:
I tried to call sync.set() 100 times to write data to redis and record the use time, i then called the same setcommand but using sync.dispath() to write same data, found that the time consumption nearly doubled.
vs
this gap has exceeded my understanding, wonder the reason...
hope get help and kindly explain the difference.
Beta Was this translation helpful? Give feedback.
All reactions