Files
redis/src
Filipe Oliveira (Redis) 26a2dcb936 Reduce getNodeByQuery overhead (#13221)
The following PR does the following changes based upon on CPU profile
info. The `getNodeByQuery` function represents 8.2% of an overhead of
12.3% when comparing single shard cluster with standalone.
Proposed changes:
- inlinging keyHashSlot to reduce overhead of that function call
- Reduce duplicate calls to getCommandFlags within getNodeByQuery

The above changes represent an improvement of approximately 5% on the achievable ops/sec.

Co-authored-by: filipecosta90 <filipecosta.90@gmail.com>
2024-07-03 18:23:14 +08:00
..
2024-06-24 18:11:53 +03:00
2020-04-24 17:11:21 -07:00
2024-06-21 18:21:25 +08:00
2024-04-18 16:06:30 +03:00
2024-04-18 16:06:30 +03:00
2024-06-21 18:21:25 +08:00
2024-04-18 16:06:30 +03:00
2024-05-30 15:26:19 +08:00
2024-04-18 16:06:30 +03:00
2024-04-18 16:06:30 +03:00
2024-05-30 15:26:19 +08:00
2024-04-18 16:06:30 +03:00
2024-04-18 16:06:30 +03:00
2024-06-20 13:53:47 +03:00
2024-06-21 18:21:25 +08:00
2021-07-10 10:04:54 -05:00
2022-07-18 10:56:26 +03:00