summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-02-22 00:58:55 +0800
committerGitHub <noreply@github.com>2023-02-21 18:58:55 +0200
commitcd58af4d7fe4b506899591b2846cfba61335c958 (patch)
tree041843172281d7b803d78a0f12a957a442749c4a /src/server.h
parentdca5927ac868ad697f646bcf9efc6d9b79afb03f (diff)
downloadredis-cd58af4d7fe4b506899591b2846cfba61335c958.tar.gz
Speed up test: client evicted due to client tracking prefixes (#11823)
We noticed that `client evicted due to client tracking prefixes` takes over 200 seconds with valgrind. We combine three prefixes in each command, this will probably save us half the testing time. Before: normal: 3508ms, valgrind: 289503ms -> 290s With three prefixes, normal: 1500ms, valgrind: 135742ms -> 136s Since we did not actually count the memory usage of all prefixes, see getClientMemoryUsage, so we can not use larger prefixes to speed up the test here. Also this PR cleaned up some spaces (IDE jobs) and typos.
Diffstat (limited to 'src/server.h')
0 files changed, 0 insertions, 0 deletions