Skip to content

integration with html5ever's tree builder #19

integration with html5ever's tree builder

integration with html5ever's tree builder #19

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
env:
BENCHER_PROJECT: html5gum
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
BENCHER_ADAPTER: rust_iai
BENCHER_TESTBED: github-actions
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: bencherdev/bencher@v0.3.5
- run: sudo apt-get install -y valgrind
- run: bencher run --if-branch "$GITHUB_REF_NAME" --else-if-branch "$GITHUB_BASE_REF" --else-if-branch main --err "cargo bench"