Skip to content

Forward attributes on function parameters to generated prop struct in inline_props #1741

Forward attributes on function parameters to generated prop struct in inline_props

Forward attributes on function parameters to generated prop struct in inline_props #1741

Workflow file for this run

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/