Skip to content

Commit 2867ec0

Browse files
gatesn0ax1
authored andcommitted
Run operators benchmarks
Signed-off-by: Alexander Droste <[email protected]>
1 parent 746a8da commit 2867ec0

File tree

7 files changed

+18
-22
lines changed

7 files changed

+18
-22
lines changed

.github/workflows/bench-pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
branches: ["develop"]
1515
workflow_dispatch: { }
1616

17+
env:
18+
VORTEX_OPERATORS: "true"
19+
1720
permissions:
1821
actions: write # for removing labels
1922
contents: read
@@ -33,7 +36,6 @@ jobs:
3336
labels: benchmark
3437

3538
bench:
36-
needs: label_trigger
3739
timeout-minutes: 120
3840
runs-on:
3941
- runs-on=${{ github.run_id }}
@@ -49,7 +51,8 @@ jobs:
4951
name: Random Access
5052
- id: compress
5153
name: Compression
52-
if: ${{ contains(github.event.head_commit.message, '[benchmark]') || github.event.label.name == 'benchmark' && github.event_name == 'pull_request' }}
54+
env:
55+
VORTEX_OPERATORS: "true"
5356
steps:
5457
- uses: runs-on/action@v2
5558
if: github.event.pull_request.head.repo.fork == false
@@ -134,7 +137,6 @@ jobs:
134137
comment-tag: bench-pr-comment-${{ matrix.benchmark.id }}
135138

136139
sql:
137-
needs: label_trigger
138140
uses: ./.github/workflows/sql-benchmarks.yml
139141
secrets: inherit
140142
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ name: CI
88
concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
1010
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}
11-
on:
12-
push:
13-
branches: [develop]
14-
pull_request: { }
15-
workflow_dispatch: { }
11+
on: { }
1612

1713
permissions:
1814
actions: read

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ concurrency:
44
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

7-
on:
8-
push:
9-
branches: [develop]
10-
workflow_dispatch: { }
7+
on: { }
118

129
permissions:
1310
contents: read

.github/workflows/labels.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ concurrency:
44
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
66

7-
on:
8-
pull_request:
9-
# Trigger on these PR activities
10-
types: [opened, reopened, synchronize, labeled, unlabeled]
7+
on: { }
118

129
jobs:
1310
check_changelog_label:

.github/workflows/reuse.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ concurrency:
77
# Cancel outdated runs on PRs, but let all develop commits complete.
88
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}
99

10-
on:
11-
push:
12-
branches: [develop]
13-
pull_request: { }
10+
on: { }
1411

1512
jobs:
1613
reuse-check:

.github/workflows/sql-benchmarks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: "SQL-related benchmarks"
22

3+
env:
4+
VORTEX_OPERATORS: "true"
5+
36
on:
47
workflow_call:
58
inputs:
@@ -94,7 +97,8 @@ jobs:
9497
fail-fast: false
9598
matrix:
9699
include: ${{ fromJSON(inputs.benchmark_matrix) }}
97-
100+
env:
101+
VORTEX_OPERATORS: "true"
98102
runs-on:
99103
- runs-on=${{ github.run_id }}
100104
- family=${{ inputs.machine_type }}
@@ -135,6 +139,7 @@ jobs:
135139
shell: bash
136140
env:
137141
RUST_BACKTRACE: full
142+
VORTEX_OPERATORS: "true"
138143
run: |
139144
# Generate data, running each query once to make sure they don't panic.
140145
target/release_debug/query_bench \
@@ -178,6 +183,7 @@ jobs:
178183
OTEL_EXPORTER_OTLP_ENDPOINT: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_ENDPOINT || '' }}"
179184
OTEL_EXPORTER_OTLP_HEADERS: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_HEADERS || '' }}"
180185
OTEL_RESOURCE_ATTRIBUTES: "bench-name=${{ matrix.id }}"
186+
VORTEX_OPERATORS: "true"
181187
run: |
182188
target/release_debug/query_bench ${{ matrix.subcommand }} \
183189
-d gh-json \
@@ -196,6 +202,7 @@ jobs:
196202
OTEL_EXPORTER_OTLP_ENDPOINT: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_ENDPOINT || '' }}"
197203
OTEL_EXPORTER_OTLP_HEADERS: "${{ (inputs.mode != 'pr' || github.event.pull_request.head.repo.fork == false) && secrets.OTEL_EXPORTER_OTLP_HEADERS || '' }}"
198204
OTEL_RESOURCE_ATTRIBUTES: "bench-name=${{ matrix.id }}"
205+
VORTEX_OPERATORS: "true"
199206
run: |
200207
target/release_debug/query_bench ${{ matrix.subcommand }} \
201208
--use-remote-data-dir ${{ matrix.remote_storage }} \

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
permissions:
88
contents: read
99

10-
on: [pull_request]
10+
on: { }
1111

1212
env:
1313
CLICOLOR: 1

0 commit comments

Comments
 (0)