• Binbin's avatar
    Speed up test: client evicted due to client tracking prefixes (#11823) · cd58af4d
    Binbin authored
    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.
    cd58af4d
client-eviction.tcl 21.2 KB