Skip to content

Commit 4ebf4f4

Browse files
committed
wip
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent 38ab5af commit 4ebf4f4

2 files changed

Lines changed: 32 additions & 8 deletions

File tree

.github/workflows/bench-pr.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,18 @@ jobs:
3131
- id: random-access-bench
3232
name: Random Access
3333
build_args: "--features lance"
34-
- id: compress-bench
35-
name: Compression
34+
- id: compress-bench-1
35+
name: Compression (1/3)
36+
bin: compress-bench
37+
extra_args: "--datasets '^(taxi|Arade|Bimbo|CMSprovider|Euro2016)$'"
38+
- id: compress-bench-2
39+
name: Compression (2/3)
40+
bin: compress-bench
41+
extra_args: "--datasets '^(Food|HashTags|TPC-H)'"
42+
- id: compress-bench-other
43+
name: Compression (other)
44+
bin: compress-bench
45+
extra_args: "--datasets '^(?!taxi$|Arade$|Bimbo$|CMSprovider$|Euro2016$|Food$|HashTags$|TPC-H)'"
3646
steps:
3747
- uses: runs-on/action@v2
3848
if: github.event.pull_request.head.repo.fork == false
@@ -60,7 +70,7 @@ jobs:
6070
env:
6171
RUSTFLAGS: "-C target-cpu=native -C force-frame-pointers=yes"
6272
run: |
63-
cargo build --package ${{ matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
73+
cargo build --package ${{ matrix.benchmark.bin || matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
6474
6575
- name: Setup Polar Signals
6676
if: github.event.pull_request.head.repo.fork == false
@@ -77,7 +87,7 @@ jobs:
7787
env:
7888
RUST_BACKTRACE: full
7989
run: |
80-
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.id }} -d gh-json -o results.json
90+
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.bin || matrix.benchmark.id }} ${{ matrix.benchmark.formats && format('--formats {0}', matrix.benchmark.formats) || '' }} ${{ matrix.benchmark.extra_args }} -d gh-json -o results.json
8191
8292
- name: Setup AWS CLI
8393
if: github.event.pull_request.head.repo.fork == false

.github/workflows/bench.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,24 @@ jobs:
4444
name: Random Access
4545
build_args: "--features lance"
4646
formats: "parquet,lance,vortex"
47-
- id: compress-bench
48-
name: Compression
47+
- id: compress-bench-1
48+
name: Compression (1/3)
49+
bin: compress-bench
4950
build_args: "--features lance"
5051
formats: "parquet,lance,vortex"
52+
extra_args: "--datasets '^(taxi|Arade|Bimbo|CMSprovider|Euro2016)$'"
53+
- id: compress-bench-2
54+
name: Compression (2/3)
55+
bin: compress-bench
56+
build_args: "--features lance"
57+
formats: "parquet,lance,vortex"
58+
extra_args: "--datasets '^(Food|HashTags|TPC-H)'"
59+
- id: compress-bench-other
60+
name: Compression (other)
61+
bin: compress-bench
62+
build_args: "--features lance"
63+
formats: "parquet,lance,vortex"
64+
extra_args: "--datasets '^(?!taxi$|Arade$|Bimbo$|CMSprovider$|Euro2016$|Food$|HashTags$|TPC-H)'"
5165
steps:
5266
- uses: runs-on/action@v2
5367
if: github.repository == 'vortex-data/vortex'
@@ -73,7 +87,7 @@ jobs:
7387
env:
7488
RUSTFLAGS: "-C target-cpu=native -C force-frame-pointers=yes"
7589
run: |
76-
cargo build --bin ${{ matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
90+
cargo build --bin ${{ matrix.benchmark.bin || matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
7791
7892
- name: Setup Polar Signals
7993
uses: polarsignals/gh-actions-ps-profiling@v0.8.1
@@ -89,7 +103,7 @@ jobs:
89103
env:
90104
RUST_BACKTRACE: full
91105
run: |
92-
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.id }} --formats ${{ matrix.benchmark.formats }} -d gh-json -o results.json
106+
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.bin || matrix.benchmark.id }} --formats ${{ matrix.benchmark.formats }} ${{ matrix.benchmark.extra_args }} -d gh-json -o results.json
93107
94108
- name: Setup AWS CLI
95109
uses: aws-actions/configure-aws-credentials@v6

0 commit comments

Comments
 (0)