test(reg-vm): fix stale scalar-param test + add deterministic elision… #11
This file contains hidden or 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: JIT perf gate | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/jit-perf.yml" | |
| - "benchmarks/vm-jit/**" | |
| - "crates/rsscript/src/reg_vm/**" | |
| - "crates/rsscript/tests/jit_acceptance.rs" | |
| - "crates/vm-jit/**" | |
| push: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/jit-perf.yml" | |
| - "benchmarks/vm-jit/**" | |
| - "crates/rsscript/src/reg_vm/**" | |
| - "crates/rsscript/tests/jit_acceptance.rs" | |
| - "crates/vm-jit/**" | |
| concurrency: | |
| group: jit-perf-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| perf-gate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Build dev container | |
| run: docker compose build dev | |
| - name: JIT perf gate | |
| run: docker compose run --rm dev cargo test --release -p rsscript --test runtime jit_perf_gate_against_baseline --features native-jit -- --test-threads=1 --nocapture |