Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/bench-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,18 @@ jobs:
- id: random-access-bench
name: Random Access
build_args: "--features lance"
- id: compress-bench
name: Compression
- id: compress-bench-1
name: Compression (1/3)
bin: compress-bench
extra_args: "--datasets '^(taxi|Arade|Bimbo|CMSprovider|Euro2016)$'"
- id: compress-bench-2
name: Compression (2/3)
bin: compress-bench
extra_args: "--datasets '^(Food|HashTags|TPC-H)'"
- id: compress-bench-3
name: Compression (3/3)
bin: compress-bench
extra_args: "--datasets '^(?!taxi$|Arade$|Bimbo$|CMSprovider$|Euro2016$|Food$|HashTags$|TPC-H)'"
steps:
- uses: runs-on/action@v2
if: github.event.pull_request.head.repo.fork == false
Expand Down Expand Up @@ -60,7 +70,7 @@ jobs:
env:
RUSTFLAGS: "-C target-cpu=native -C force-frame-pointers=yes"
run: |
cargo build --package ${{ matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
cargo build --package ${{ matrix.benchmark.bin || matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}

- name: Setup Polar Signals
if: github.event.pull_request.head.repo.fork == false
Expand All @@ -77,7 +87,7 @@ jobs:
env:
RUST_BACKTRACE: full
run: |
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.id }} -d gh-json -o results.json
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

- name: Setup AWS CLI
if: github.event.pull_request.head.repo.fork == false
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,24 @@ jobs:
name: Random Access
build_args: "--features lance"
formats: "parquet,lance,vortex"
- id: compress-bench
name: Compression
- id: compress-bench-1
name: Compression (1/3)
bin: compress-bench
build_args: "--features lance"
formats: "parquet,lance,vortex"
extra_args: "--datasets '^(taxi|Arade|Bimbo|CMSprovider|Euro2016)$'"
- id: compress-bench-2
name: Compression (2/3)
bin: compress-bench
build_args: "--features lance"
formats: "parquet,lance,vortex"
extra_args: "--datasets '^(Food|HashTags|TPC-H)'"
- id: compress-bench-3
name: Compression (3/3)
bin: compress-bench
build_args: "--features lance"
formats: "parquet,lance,vortex"
extra_args: "--datasets '^(?!taxi$|Arade$|Bimbo$|CMSprovider$|Euro2016$|Food$|HashTags$|TPC-H)'"
steps:
- uses: runs-on/action@v2
if: github.repository == 'vortex-data/vortex'
Expand All @@ -73,7 +87,7 @@ jobs:
env:
RUSTFLAGS: "-C target-cpu=native -C force-frame-pointers=yes"
run: |
cargo build --bin ${{ matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}
cargo build --bin ${{ matrix.benchmark.bin || matrix.benchmark.id }} --profile release_debug ${{ matrix.benchmark.build_args }}

- name: Setup Polar Signals
uses: polarsignals/gh-actions-ps-profiling@v0.8.1
Expand All @@ -89,7 +103,7 @@ jobs:
env:
RUST_BACKTRACE: full
run: |
bash scripts/bench-taskset.sh target/release_debug/${{ matrix.benchmark.id }} --formats ${{ matrix.benchmark.formats }} -d gh-json -o results.json
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

- name: Setup AWS CLI
uses: aws-actions/configure-aws-credentials@v6
Expand Down
Loading