name: Benchmarks
on:
workflow_dispatch:
schedule:
- cron: "17 4 * * 1"
permissions:
contents: read
jobs:
hot-paths:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup Rust
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 with:
toolchain: stable
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae
- name: Run hot-path benchmarks
run: cargo bench --bench hot_paths --features auth,jobs,websocket -- --noplot