2021-02-07 21:33:53 +01:00
|
|
|
name: Benchmark
|
2020-01-22 22:23:53 +01:00
|
|
|
|
2020-07-22 01:28:33 +02:00
|
|
|
on:
|
|
|
|
push:
|
2023-08-01 20:33:32 +02:00
|
|
|
branches: [master]
|
2020-01-22 22:23:53 +01:00
|
|
|
|
2022-11-04 01:42:22 +01:00
|
|
|
permissions:
|
2023-10-29 02:56:10 +01:00
|
|
|
contents: read
|
2023-03-15 14:32:55 +01:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2022-11-04 01:42:22 +01:00
|
|
|
|
2020-01-22 22:23:53 +01:00
|
|
|
jobs:
|
|
|
|
check_benchmark:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-12 06:44:47 +02:00
|
|
|
- uses: actions/checkout@v4
|
2020-01-22 22:23:53 +01:00
|
|
|
|
|
|
|
- name: Install Rust
|
2023-04-23 21:46:57 +02:00
|
|
|
run: |
|
|
|
|
rustup set profile minimal
|
|
|
|
rustup install nightly
|
|
|
|
rustup override set nightly
|
2020-01-22 22:23:53 +01:00
|
|
|
|
|
|
|
- name: Check benchmark
|
2023-04-23 21:46:57 +02:00
|
|
|
run: cargo bench --bench=server -- --sample-size=15
|