-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.sh
executable file
·41 lines (37 loc) · 1.21 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
echo -e '\n*** Smallest to Largest Intersections ***'
memtier_benchmark --hide-histogram \
--server=localhost \
--port=12000 \
--test-time=30 \
--threads=10 \
--clients=10 \
--run-count=1 \
--command="FT.SEARCH idx '@num:[1000 2000] @color:{grey} @quote:\"little more than kin\"' RETURN 1 quote LIMIT 0 10 DIALECT 4"
echo -e '\n*** Largest to Smallest Intersections ***'
memtier_benchmark --hide-histogram \
--server=localhost \
--port=12000 \
--test-time=30 \
--threads=10 \
--clients=10 \
--run-count=1 \
--command="FT.SEARCH idx '@quote:\"little more than kin\" @color:{grey} @num:[1000 2000]' RETURN 1 quote LIMIT 0 10 DIALECT 4"
echo -e '\n*** TAG First ***'
memtier_benchmark --hide-histogram \
--server=localhost \
--port=12000 \
--test-time=30 \
--threads=10 \
--clients=10 \
--run-count=1 \
--command="FT.SEARCH idx '@color:{grey} @num:[1000 2000] @quote:\"little more than kin\"' RETURN 1 quote LIMIT 0 10 DIALECT 4"
echo -e '\n*** TAG Last ***'
memtier_benchmark --hide-histogram \
--server=localhost \
--port=12000 \
--test-time=30 \
--threads=10 \
--clients=10 \
--run-count=1 \
--command="FT.SEARCH idx '@num:[1000 2000] @quote:\"little more than kin\" @color:{grey}' RETURN 1 quote LIMIT 0 10 DIALECT 4"