-
Notifications
You must be signed in to change notification settings - Fork 93
196 lines (160 loc) · 5.56 KB
/
manual-all-engines-benchmark.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
name: Manual All Engines Default Benchmarks
on:
push:
branches:
- "ci/benchmark-all-engines"
workflow_dispatch:
inputs:
dataset:
description: "Dataset to benchmark"
default: random-100
jobs:
elasticsearchBenchmark:
name: benchmark - elasticsearch-default - random-100 - against elasticsearch-single-node-ci
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install --no-root
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/elasticsearch-single-node-ci/docker-compose.yaml"
- name: Execution
run: |
./tools/wait_for_green_status.sh
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "elasticsearch-default" --datasets "random-100"
milvusBenchmark:
name: benchmark - milvus-default - random-100 - against milvus-single-node
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/milvus-single-node/docker-compose.yaml"
- name: Execution
run: |
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "milvus-default" --datasets "random-100"
opensearchBenchmark:
name: benchmark - opensearch-default - glove-25-angular - against opensearch-single-node-ci
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/opensearch-single-node-ci/docker-compose.yaml"
- name: Execution
run: |
./tools/wait_for_green_status.sh
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "opensearch-default" --datasets "glove-25-angular"
pgvectorBenchmark:
name: benchmark - pgvector-default - random-100 - against pgvector-single-node
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/pgvector-single-node/docker-compose.yaml"
- name: Execution
run: |
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "pgvector-default" --datasets "random-100"
qdrantBenchmark:
name: benchmark - qdrant-default - random-100 - against qdrant-single-node
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/qdrant-single-node/docker-compose.yaml"
- name: Execution
run: |
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "qdrant-default" --datasets "random-100"
redisBenchmark:
name: benchmark - redis-default - random-100 - against redis-single-node
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/redis-single-node/docker-compose.yaml"
- name: Execution
run: |
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "redis-default" --datasets "random-100"
weaviateBenchmark:
name: benchmark - weaviate-default - random-100 - against weaviate-single-node
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "poetry"
- name: Install deps
run: poetry install
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "engine/servers/weaviate-single-node/docker-compose.yaml"
- name: Execution
run: |
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "weaviate-default" --datasets "random-100"