hooks.process Take too long #2664
Unanswered
ClownSketch
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
-
Concurrent testing, using pprof to analyze the direction of the code and list the most time-consuming places found that hooks.process takes a long time and I don't recall adding any custom hooks
(pprof) top 20
Showing nodes accounting for 5.79s, 93.09% of 6.22s total
Dropped 144 nodes (cum <= 0.03s)
Showing top 20 nodes out of 159
flat flat% sum% cum cum%
0.01s 0.16% 92.44% 2.25s 36.17% github.com/go-redis/redis/v8.hooks.process
Beta Was this translation helpful? Give feedback.
All reactions