feat: bump llvm to version 16 #457
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: bench | |
on: | |
pull_request: | |
paths: | |
- '**.rs' | |
- '**/Cargo.*' | |
- '.github/workflows/bench.yml' | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
RUST_TEST_NOCAPTURE: 1 | |
PL_IMMIX_HEAP_SIZE: 1073741824 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
benchimmix: | |
name: Benchmark immix | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install libasound2-dev libudev-dev | |
- name: Install Rust (stable) | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
override: true | |
- name: Install LLVM | |
uses: Pivot-Studio/setup-llvm@main | |
- uses: Swatinem/rust-cache@v2 | |
- uses: boa-dev/criterion-compare-action@v3 | |
with: | |
cwd: "immix" | |
# Optional. Compare only this benchmark target | |
# benchName: "immix_bench" | |
# Needed. The name of the branch to compare with. This default uses the branch which is being pulled against | |
branchName: ${{ github.base_ref }} |