fix: Array operations fuzzing actually fuzzes compare function (#2665) #1899
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: | |
runs-on: | |
- runs-on=${{ github.run_id }} | |
- family=c7i.8xlarge | |
- image=ubuntu24-full-x64 | |
- disk=large | |
- spot=false | |
- tag=${{ matrix.benchmark.id }} | |
strategy: | |
matrix: | |
benchmark: | |
- id: random_access | |
name: Random Access | |
- id: compress | |
name: Compression | |
steps: | |
- uses: runs-on/action@v1 | |
- uses: actions/checkout@v4 | |
# rustup is pre-installed on the ubuntu24-full-x64 image. | |
# The compression benchmarks rely on DuckDB being installed to convert CSV to Parquet | |
- name: Install DuckDB | |
uses: opt-nc/[email protected] | |
with: | |
version: v1.2.1 | |
- name: Run ${{ matrix.benchmark.name }} benchmark | |
shell: bash | |
env: | |
RUSTFLAGS: '-C target-cpu=native' | |
run: | | |
cargo run --bin ${{ matrix.benchmark.id }} --release -- -d gh-json | tee ${{ 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 ${{ matrix.benchmark.id }}.json | |
sql: | |
uses: ./.github/workflows/sql-benchmarks.yml | |
secrets: inherit | |
with: | |
mode: 'develop' |