Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
452ccf7a
Commit
452ccf7a
authored
Aug 26, 2010
by
antirez
Browse files
SORT stress testing against bigger aggregate values
parent
e4ecc931
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/sort.tcl
View file @
452ccf7a
...
@@ -37,9 +37,11 @@ start_server {
...
@@ -37,9 +37,11 @@ start_server {
foreach
{
num cmd enc title
}
{
foreach
{
num cmd enc title
}
{
16 lpush ziplist
"Ziplist"
16 lpush ziplist
"Ziplist"
64 lpush linkedlist
"Linked list"
1000 lpush linkedlist
"Linked list"
10000 lpush linkedlist
"Big Linked list"
16 sadd intset
"Intset"
16 sadd intset
"Intset"
64 sadd hashtable
"Hash table"
1000 sadd hashtable
"Hash table"
10000 sadd hashtable
"Big Hash table"
}
{
}
{
set result
[
create_random_dataset $num $cmd
]
set result
[
create_random_dataset $num $cmd
]
assert_encoding $enc tosort
assert_encoding $enc tosort
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment