Skip to content

feat: teach utf8-type SparseArray to canonicalize (#3848) #2823

feat: teach utf8-type SparseArray to canonicalize (#3848)

feat: teach utf8-type SparseArray to canonicalize (#3848) #2823

Workflow file for this run

name: Benchmarks
on:
push:
branches: [ develop ]
permissions:
id-token: write # enables AWS-GitHub OIDC
actions: read
contents: write
deployments: write
jobs:
commit-metadata:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Setup AWS CLI
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole
aws-region: us-east-1
- name: Upload Commit Metadata
shell: bash
run: |
set -Eeu -o pipefail -x
sudo apt-get update && sudo apt-get install -y jq
bash scripts/commit-json.sh > new-commit.json
bash scripts/cat-s3.sh vortex-benchmark-results-database commits.json new-commit.json
bench:
timeout-minutes: 120
runs-on:
- runs-on=${{ github.run_id }}
- family=c6id.8xlarge
- image=ubuntu24-full-x64
- spot=false
- extras=s3-cache
- tag=${{ matrix.benchmark.id }}
strategy:
matrix:
benchmark:
- id: random_access
name: Random Access
- id: compress
name: Compression
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: ./.github/actions/setup-rust
- name: Install DuckDB
run: |
wget -qO- https://github.com/duckdb/duckdb/releases/download/v1.3.2/duckdb_cli-linux-amd64.zip | funzip > duckdb
chmod +x duckdb
echo "$PWD" >> $GITHUB_PATH
# rustup is pre-installed on the ubuntu24-full-x64 image.
- name: Run ${{ matrix.benchmark.name }} benchmark
shell: bash
env:
RUSTFLAGS: '-C target-cpu=native'
run: |
cargo run --bin ${{ matrix.benchmark.id }} --package bench-vortex --release -- -d gh-json -o ${{ matrix.benchmark.id }}.json
- name: Setup AWS CLI
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole
aws-region: us-east-1
- name: Upload Benchmark Results
shell: bash
run: |
bash scripts/cat-s3.sh vortex-benchmark-results-database data.json.gz ${{ matrix.benchmark.id }}.json
sql:
uses: ./.github/workflows/sql-benchmarks.yml
secrets: inherit
with:
mode: 'develop'