Support query parameters in routes #1745
Workflow file for this run
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: Benchmark | |
on: [pull_request] | |
jobs: | |
bench: | |
name: Bench | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Checkout repository base | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.base_ref }} | |
- name: Run cargo bench on base | |
run: cargo bench --bench reactivity --bench ssr | |
- name: Checkout repository head | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.head_ref }} | |
clean: false # Do not remove benchmark results from base branch | |
- name: Run cargo bench on head | |
run: cargo bench --bench reactivity --bench ssr | |
- name: Upload benchmark report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Benchmark report | |
path: target/criterion/ |