|
| 1 | +name: Manual All Engines Default Benchmarks |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - "master" |
| 7 | + pull_request: |
| 8 | + types: |
| 9 | + - opened |
| 10 | + - reopened |
| 11 | + workflow_dispatch: |
| 12 | + |
| 13 | +jobs: |
| 14 | + elasticsearchBenchmark: |
| 15 | + if: > |
| 16 | + ( |
| 17 | + startsWith(github.event.head_commit.modified, 'engine/clients/elasticsearch') || |
| 18 | + startsWith(github.event.head_commit.modified, 'engine/servers/elasticsearch') || |
| 19 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 20 | + ) |
| 21 | + name: benchmark - elasticsearch-default - random-100 - against elasticsearch-single-node-ci |
| 22 | + runs-on: ubuntu-latest |
| 23 | + timeout-minutes: 30 |
| 24 | + steps: |
| 25 | + - uses: actions/checkout@v3 |
| 26 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 27 | + with: |
| 28 | + engine: "elasticsearch-default" |
| 29 | + dataset: "random-100" |
| 30 | + compose_file: "engine/servers/elasticsearch-single-node-ci/docker-compose.yaml" |
| 31 | + |
| 32 | + milvusBenchmark: |
| 33 | + if: > |
| 34 | + ( |
| 35 | + startsWith(github.event.head_commit.modified, 'engine/clients/milvus') || |
| 36 | + startsWith(github.event.head_commit.modified, 'engine/servers/milvus') || |
| 37 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 38 | + ) |
| 39 | + name: benchmark - milvus-default - random-100 - against milvus-single-node |
| 40 | + runs-on: ubuntu-latest |
| 41 | + timeout-minutes: 30 |
| 42 | + steps: |
| 43 | + - uses: actions/checkout@v3 |
| 44 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 45 | + with: |
| 46 | + engine: "milvus-default" |
| 47 | + dataset: "random-100" |
| 48 | + compose_file: "engine/servers/milvus-single-node/docker-compose.yaml" |
| 49 | + |
| 50 | + opensearchBenchmark: |
| 51 | + if: > |
| 52 | + ( |
| 53 | + startsWith(github.event.head_commit.modified, 'engine/clients/opensearch') || |
| 54 | + startsWith(github.event.head_commit.modified, 'engine/servers/opensearch') || |
| 55 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 56 | + ) |
| 57 | + name: benchmark - opensearch-default - glove-25-angular - against opensearch-single-node-ci |
| 58 | + runs-on: ubuntu-latest |
| 59 | + timeout-minutes: 30 |
| 60 | + steps: |
| 61 | + - uses: actions/checkout@v3 |
| 62 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 63 | + with: |
| 64 | + engine: "opensearch-default" |
| 65 | + dataset: "glove-25-angular" |
| 66 | + compose_file: "engine/servers/opensearch-single-node-ci/docker-compose.yaml" |
| 67 | + |
| 68 | + pgvectorBenchmark: |
| 69 | + if: > |
| 70 | + ( |
| 71 | + startsWith(github.event.head_commit.modified, 'engine/clients/pgvector') || |
| 72 | + startsWith(github.event.head_commit.modified, 'engine/servers/pgvector') || |
| 73 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 74 | + ) |
| 75 | + name: benchmark - pgvector-default - random-100 - against pgvector-single-node |
| 76 | + runs-on: ubuntu-latest |
| 77 | + timeout-minutes: 30 |
| 78 | + steps: |
| 79 | + - uses: actions/checkout@v3 |
| 80 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 81 | + with: |
| 82 | + engine: "pgvector-default" |
| 83 | + dataset: "random-100" |
| 84 | + compose_file: "engine/servers/pgvector-single-node/docker-compose.yaml" |
| 85 | + |
| 86 | + qdrantBenchmark: |
| 87 | + if: > |
| 88 | + ( |
| 89 | + startsWith(github.event.head_commit.modified, 'engine/clients/qdrant') || |
| 90 | + startsWith(github.event.head_commit.modified, 'engine/servers/qdrant') || |
| 91 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 92 | + ) |
| 93 | + name: benchmark - qdrant-default - random-100 - against qdrant-single-node |
| 94 | + runs-on: ubuntu-latest |
| 95 | + timeout-minutes: 30 |
| 96 | + steps: |
| 97 | + - uses: actions/checkout@v3 |
| 98 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 99 | + with: |
| 100 | + engine: "qdrant-default" |
| 101 | + dataset: "random-100" |
| 102 | + compose_file: "engine/servers/qdrant-single-node/docker-compose.yaml" |
| 103 | + |
| 104 | + redisBenchmark: |
| 105 | + if: > |
| 106 | + ( |
| 107 | + startsWith(github.event.head_commit.modified, 'engine/clients/redis') || |
| 108 | + startsWith(github.event.head_commit.modified, 'engine/servers/redis') || |
| 109 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 110 | + ) |
| 111 | + name: benchmark - redis-default - random-100 - against redis-single-node |
| 112 | + runs-on: ubuntu-latest |
| 113 | + timeout-minutes: 30 |
| 114 | + steps: |
| 115 | + - uses: actions/checkout@v3 |
| 116 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 117 | + with: |
| 118 | + engine: "redis-default" |
| 119 | + dataset: "random-100" |
| 120 | + compose_file: "engine/servers/redis-single-node/docker-compose.yaml" |
| 121 | + |
| 122 | + weaviateBenchmark: |
| 123 | + if: > |
| 124 | + ( |
| 125 | + startsWith(github.event.head_commit.modified, 'engine/clients/weaviate') || |
| 126 | + startsWith(github.event.head_commit.modified, 'engine/servers/weaviate') || |
| 127 | + startsWith(github.event.head_commit.modified, 'engine/base_client/') |
| 128 | + ) |
| 129 | + name: benchmark - weaviate-default - random-100 - against weaviate-single-node |
| 130 | + runs-on: ubuntu-latest |
| 131 | + timeout-minutes: 30 |
| 132 | + steps: |
| 133 | + - uses: actions/checkout@v3 |
| 134 | + - uses: ./.github/workflows/actions/run-engine-benchmark |
| 135 | + with: |
| 136 | + engine: "weaviate-default" |
| 137 | + dataset: "random-100" |
| 138 | + compose_file: "engine/servers/weaviate-single-node/docker-compose.yaml" |
0 commit comments