Skip to content

Commit e1a5441

Browse files
committed
Debug
1 parent 1972cb6 commit e1a5441

File tree

1 file changed

+5
-72
lines changed

1 file changed

+5
-72
lines changed

.github/workflows/continuous-benchmark.yaml

Lines changed: 5 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
# Restrict to only running this workflow one at a time.
1515
# Any new runs will be queued until the previous run is complete.
1616
# Any existing pending runs will be cancelled and replaced with current run.
17-
concurrency:
18-
group: continuous-benchmark
17+
#concurrency:
18+
# group: continuous-benchmark
1919

2020
jobs:
2121
runBenchmark:
@@ -34,32 +34,7 @@ jobs:
3434
export WITH_PAYLOAD=${{ inputs.with_payload }}
3535
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
3636
37-
bash -x tools/setup_ci.sh
38-
39-
declare -A DATASET_TO_ENGINE
40-
DATASET_TO_ENGINE["laion-small-clip"]="qdrant-continuous-benchmark${SUFFIX}"
41-
DATASET_TO_ENGINE["msmarco-sparse-100K"]="qdrant-sparse-vector${SUFFIX}"
42-
DATASET_TO_ENGINE["h-and-m-2048-angular-filters"]="qdrant-continuous-benchmark${SUFFIX}"
43-
DATASET_TO_ENGINE["dbpedia-openai-100K-1536-angular"]="qdrant-bq-continuous-benchmark${SUFFIX}"
44-
45-
set +e
46-
47-
for dataset in "${!DATASET_TO_ENGINE[@]}"; do
48-
export ENGINE_NAME=${DATASET_TO_ENGINE[$dataset]}
49-
export DATASETS=$dataset
50-
51-
# Benchmark the dev branch:
52-
export QDRANT_VERSION=ghcr/dev
53-
export QDRANT__FEATURE_FLAGS__ALL=true
54-
timeout 30m bash -x tools/run_ci.sh
55-
56-
# Benchmark the master branch:
57-
export QDRANT_VERSION=docker/master
58-
export QDRANT__FEATURE_FLAGS__ALL=false
59-
timeout 30m bash -x tools/run_ci.sh
60-
done
61-
62-
set -e
37+
exit 1
6338
- name: Fail job if any of the benches failed
6439
if: steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
6540
run: exit 1
@@ -85,28 +60,7 @@ jobs:
8560
export WITH_PAYLOAD=${{ inputs.with_payload }}
8661
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
8762
88-
bash -x tools/setup_ci.sh
89-
90-
set +e
91-
92-
# Benchmark filtered search by tenants with mem limitation
93-
94-
export ENGINE_NAME="qdrant-all-on-disk-scalar-q${SUFFIX}"
95-
export DATASETS="random-768-100-tenants"
96-
export BENCHMARK_STRATEGY="tenants"
97-
export CONTAINER_MEM_LIMIT=160mb
98-
99-
# Benchmark the dev branch:
100-
export QDRANT_VERSION=ghcr/dev
101-
export QDRANT__FEATURE_FLAGS__ALL=true
102-
timeout 30m bash -x tools/run_ci.sh
103-
104-
# Benchmark the master branch:
105-
export QDRANT_VERSION=docker/master
106-
export QDRANT__FEATURE_FLAGS__ALL=false
107-
timeout 30m bash -x tools/run_ci.sh
108-
109-
set -e
63+
exit 1
11064
- name: Fail job if any of the benches failed
11165
if: steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
11266
run: exit 1
@@ -132,28 +86,7 @@ jobs:
13286
export WITH_PAYLOAD=${{ inputs.with_payload }}
13387
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
13488
135-
bash -x tools/setup_ci.sh
136-
137-
set +e
138-
139-
# Benchmark parallel search&upload
140-
141-
export ENGINE_NAME="qdrant-continuous-benchmark${SUFFIX}"
142-
export DATASETS="laion-small-clip"
143-
export BENCHMARK_STRATEGY="parallel"
144-
export POSTGRES_TABLE="benchmark_parallel_search_upload"
145-
146-
# Benchmark the dev branch:
147-
export QDRANT_VERSION=ghcr/dev
148-
export QDRANT__FEATURE_FLAGS__ALL=true
149-
timeout 30m bash -x tools/run_ci.sh
150-
151-
# Benchmark the master branch:
152-
export QDRANT_VERSION=docker/master
153-
export QDRANT__FEATURE_FLAGS__ALL=false
154-
timeout 30m bash -x tools/run_ci.sh
155-
156-
set -e
89+
exit 1
15790
- name: Fail job if any of the benches failed
15891
if: steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
15992
run: exit 1

0 commit comments

Comments
 (0)