1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
actix-web/.github/workflows/bench.yml

29 lines
550 B
YAML
Raw Normal View History

2021-02-07 21:33:53 +01:00
name: Benchmark
on:
push:
2023-08-01 20:33:32 +02:00
branches: [master]
permissions:
2023-03-15 14:32:55 +01:00
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:
2023-03-12 00:19:03 +01:00
- uses: actions/checkout@v3
- name: Install Rust
2023-04-23 21:46:57 +02:00
run: |
rustup set profile minimal
rustup install nightly
rustup override set nightly
- name: Check benchmark
2023-04-23 21:46:57 +02:00
run: cargo bench --bench=server -- --sample-size=15