if {$encoding == "ziplist"} {
r config set zset-max-ziplist-entries 128
r config set zset-max-ziplist-value 64
- } elseif {$encoding == "raw"} {
+ } elseif {$encoding == "skiplist"} {
r config set zset-max-ziplist-entries 0
r config set zset-max-ziplist-value 0
} else {
}
basics ziplist
- basics raw
+ basics skiplist
proc stressers {encoding} {
if {$encoding == "ziplist"} {
r config set zset-max-ziplist-entries 256
r config set zset-max-ziplist-value 64
set elements 128
- } elseif {$encoding == "raw"} {
+ } elseif {$encoding == "skiplist"} {
r config set zset-max-ziplist-entries 0
r config set zset-max-ziplist-value 0
set elements 1000
tags {"slow"} {
stressers ziplist
- stressers raw
+ stressers skiplist
}
}