mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 19:41:12 +00:00
29 lines
556 B
YAML
29 lines
556 B
YAML
name: Benchmark
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check_benchmark:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install Rust
|
|
run: |
|
|
rustup set profile minimal
|
|
rustup install nightly
|
|
rustup override set nightly
|
|
|
|
- name: Check benchmark
|
|
run: cargo bench --bench=server -- --sample-size=15
|