Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow skipping the installation step during setup #290

Allow skipping the installation step during setup

Allow skipping the installation step during setup #290

Workflow file for this run

name: Benchmarks
on:
pull_request:
types: [ opened, reopened, synchronize ]
permissions:
contents: read
jobs:
benchmark:
name: Run Benchmarks
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
components: 'llvm-tools-preview'
toolchain: stable
- name: Install benchmarking tools
uses: bencherdev/bencher@main
- name: Run benchmarks
env:
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
BENCHER_PROJECT: theseus-rs-postgresql-embedded
BENCHER_ADAPTER: rust_criterion
run: |
bencher run \
--branch $GITHUB_HEAD_REF \
--ci-number "${{ github.event.number }}" \
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
--err \
"cargo bench --features blocking"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.